Monday, 26 March 2012

Angular event control mostly functional

The angular event control code is capable of calling the function at what appears to be the correct angle. I have used function pointers to allow different functions to be called from the same output compare interrupt. This allows the user to set up events to occur at a certain angle and choose which function is called and leave the rest to the software.