This shows you the differences between two versions of the page.
avr-rcosc [2016-05-31 06:35:24] 127.0.0.1 external edit |
avr-rcosc [2021-09-09 00:53:39] (current) jenda |
||
---|---|---|---|
Line 33: | Line 33: | ||
atmega168bb.upload.tool=arduino:avrdude | atmega168bb.upload.tool=arduino:avrdude | ||
</code> | </code> | ||
+ | |||
+ | ==== Update 2021: timing problems ==== | ||
+ | |||
+ | I started having weird timing problems when programming the chip, I had to make the following change to Makefile: | ||
+ | <code> | ||
+ | -pro8: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>2' '-DNUM_LED_FLASHES=4' '-DWATCHDOG_MODS' | ||
+ | +pro8: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' '-DWATCHDOG_MODS' | ||
+ | </code> | ||
+ | Then compile with <code>make clean; make pro8</code> |