12f675_fuse_about_to_blow!


Results 1 to 40 of 929

Threaded View

  1. #26
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    That's great Dave, you're making a lot of progress!
    Thanks to mackrackit and yourself I am When you think that in February I couldn't turn an LED on or even create a HEX file....!

    Right then:

    What happens if you input 200 and 300 for num1 and num2 ? Why?
    Well the answer / output would be 230. Reason 200 is fine (BYTE = 255) the 300 which due to a mistake by me I set as D2 (DECIMAL2) in the program only takes the first two digits 30 so 200+30=230. How does that sound?

    Make it so you actually input the complete equation, not only the two numbers. In other words 200+300 or 20-30 or 5*12 or....
    Well the for first part 200+300 I'd have to set TOTAL VARIABLE BYTE to TOTAL VARIABLE WORD for the number 300 (that's assuming you can add a BYTE to a WORD.....Mmm, something makes me think this isn't going to be that straight forward......!
    Last edited by LEDave; - 16th April 2010 at 17:59.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts