HOODMICRO
Example Firmware

Support Forum

HI-TECH PICC Lite Compiler for Windows and Linux

For these firmware examples, I use the HI-TECH PICC-Lite compiler. This C compiler has support for the PIC12F629 and PIC12F675 microcontrollers that can be directly installed inside the HOODMICRO. The free version of this compiler does not have any limitations for these chips and even allows you to use it for commercial projects. PICC-Lite is available for both Windows and Linux platforms.

BLINK.C HEX Example firmware for blinking the HOODMICRO's LED.

BITBANG.C
PUTCH.AS
HEX Example firmware for sending data to the PC's serial port using a 19.2Kbps serial bitbang routine. The HI-TECH PICC compiler comes with a 9600bps serial bitbang example, but the timing sensitive code was written in C. I could not get that example to work, so I slapped in my own 19.2Kbps serial bitbang routine written in assembly language.

SERIAL.C
PUTCH.AS
GETCH.AS
HEX Example firmware for sending and receiving data over the PC's serial port using 19.2Kbps serial bitbang routines. Tested and working on the PIC12F629 chip using the 4MHz internal oscillator.

Note: If you end up losing your chip's oscillator calibration value, the timing sensitive serial bitbang code will not work and you will just get garbage data.


Copyright © 2005, K9spud LLC.