I’m using the timer2 with my Calunium board, which also uses the ‘1284P. There are a few example sketches in the Calunium Github repository: https://github.com/stevemarple/Calunium/tree/master/software/examples. They are written to work with the on-board real-time clock but there sho...
Using pins 3, 9, 10 and 11 and either keeping the default frequency of 490Hz or upscaling both Timer 1 and 2 to 3921Hz. I don't know what's the best choice here, and fromsome of the sourcesit seems that the actual value isn't really that important, however higher frequency will ...
A watchdog timer is used - so if the code unexpectedly becomes trapped - the Arduino should reboot. At boot-up - it is verified that the RC signal is both good - and that the throttle is at 0% for ~1 second. This means that if the robot reboots unexpectedly - it can not be spu...
Fixed rev to 2.3.3 and added info on timer used. 8年前 irPronto.cpp Fixup test harness & frequency calculator in Pronto code 10年前 irRecv.cpp move comment about 'or else' chips that use TIMER2. 8年前 irSend.cpp Cleaned up ESP32 integration, reverted ESP32 ifdefs on irreceive exampl...
We use this information to write two macros for setting a pin on a certain port "low" or "high". We furthermore define a function that allows us to create long delay times. The problem with long delay times is, that the internal timer (or clock-counter) register will overflow very fas...