A little bit of test code

Sunday, September 2nd, 2007

Once the main board is assembled, it can be tested without waiting for the sensor or motor driver boards to be ready. In time honoured fashion, we start with a little program to flash the LEDs. With any new microcontroller project, it is a good idea to start with some simple ...

Integer promotion in C30

Friday, July 6th, 2007

I was having a browse through the book 'Programming 16-bit Microcontrollers in C. Learning to Fly the PIC24' by Lucio Di Jasio. Leaving aside for now the tendency for authors to use overlong titles, there seems to me some interesting stuff in there. Early on there is a bit about what ...