-
s1axter uploaded 2 months ago
Microcontroller Bitfields and Time processing
Video blog about how to use bitfield structures in C on Microcontrollers to manage time and processing events.
Code available at http://mybitbox.com
-
s1axter uploaded 4 months ago
4x4x4 LED Cube
A 4x4x4 LED cube using 64 LEDs, 2 74LS168 shift registers, 4 NPN transistors. Software written in C on the Mbed prototype platform (http://mbed.or...
s1axter said:
@GiorgioCapocasa Take a look at the code on the website there is a line in system.c "timer1.attach(&ISR_timer1, 0.001)" to set the timer to 1ms.
The idea behind this is that you want to write routines that are fast and return quickly. If there is a long routine such as communication I would use...