NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » 9 bit fast PWM, OCR1A
|
June 08, 2011 by kayrock |
I have a timer set up with fast PWM and ICR1 = 0x1FF; Assuming that value is a uint16_t in the range 0-511 do these both do the same thing? |
|---|---|
|
June 09, 2011 by kayrock |
Ok, to answer my own question, these two bit of code create the same two assembler instructions |
Please log in to post a reply.
|
Did you know that NerdKits has been featured in the MIT Undergraduate Research Journal? Learn more...
|