Post Created date
PWM with OCR2B IN PD3
Protecting the code from unwanted interrupts can be the chapter 9(10) of the AVR Advanced course, guess.   Who need long delays, anyway.  In my projects there are just...
Thursday, 20 May 2021 - 21:14
PWM with OCR2B IN PD3
As for assembler example, AVR forum is full of similar code for 0.5, 1 and 2s, some of them are even better-looking. Use of 3 registers is mandatory for 0.5/1/2s precise 8/16M...
Thursday, 20 May 2021 - 20:15
I want to flash new code without affecting PDS data
Did you search the PDS in Forum, there are numerous post.
Thursday, 20 May 2021 - 12:01
I want to flash new code without affecting PDS data
    Whatever the previously stored   Do you store it in EEPROM, please.
Thursday, 20 May 2021 - 11:38
PWM with OCR2B IN PD3
   was there a reason to use 250   Yes, it was on purpose, and the code is clever, optimized to produce 2.000s on 8M clock.
Thursday, 20 May 2021 - 11:13
PWM with OCR2B IN PD3
   why not make the innermost 255   We all agree that the code should be indented. There is more to be desired, including concise/meaningful naming, lowercase are...
Thursday, 20 May 2021 - 10:35
PWM with OCR2B IN PD3
   if you trust the datasheet that tells you PC defaults to 0x0000 then I think you can also trust it when it says SPL/SPH default to RAMEND   I can, and I do....
Thursday, 20 May 2021 - 09:40
PWM with OCR2B IN PD3
    you will find the DS's and app notes there   Can I trust to the Wiki here for the APs, please.
Wednesday, 19 May 2021 - 18:40
PWM with OCR2B IN PD3
Excellent, thanks for the table.   btw, I have the table /I just trying to understand/ apparently the same but different label (17-8) on the page https://ww1.microchip.com/...
Wednesday, 19 May 2021 - 17:34
PWM with OCR2B IN PD3
    but you do not init OCR2A   ki0bk, can you recheck it, please. As the COM2A1 COM2A are not set, this can not be fast PWM by OCR2A, ending to OC2A (PB3)
Wednesday, 19 May 2021 - 15:32
PWM with OCR2B IN PD3
Do you know what are SPH and SPL, please?
Wednesday, 19 May 2021 - 15:09
PWM with OCR2B IN PD3
  In C-compiler it is done in compiling. In assembler, I was lazy to include the (), then on debugging, discovered no punishment, like this: .equ zc = 1...
Wednesday, 19 May 2021 - 10:12

Pages