This is the source code for our open source neoretro GPS-driven speedometer driver board, using a Microchip 16F1823 to drive a DC motor through a MOSFET.
The 16F1823 source code is provided as an MPLAB X project, compiled with the following tools:
- MPLAB X v3.40+
- XC8 v1.38+
- MPLAB Code Configurator plugin v3.16+ (not required for compilation, only to to properly edit/generate uC config and peripherals libs source code)
The EAGLE schematic is provided with a custom library.