Introduction - If you have any usage issues, please Google them yourself
mdt10p53a11 (compatible PIC12F509) development, using the acceleration sensor settings.
Wireless rear brake (which allows the effect of racing game)
Functional requirements
1 using PWM control the led lights
2-axis accelerometer inside the square and then prescribing the use of the method obtained detection value.
3 5 times per second sampling interval has been calculated measurements, stationary measurements of the fluctuations in the case of the range of less than 2 . When the measured value exceeds the value of more than 17 of the static situation, that there is a braking situation. Led lights light up in accordance with regulations.
4 lights flashing mode 2led case flashes 5 times per second, acceleration detection and led lights in the MCU internal synchronization, the situation does not work so the device enters the sleep state.
5 mode 3led bright light in the case of braking, acceleration in the five samples per second and led lights do not light up the time the m