Code Source

Ron Kreymborg

The following are complete code functions that demonstrate a particular function. They are presented on a single web page for easy reading and printing, and can be downloaded as a single ZIP file. Often, modules from one project will be used elsewhere, but in all cases the download file for a particular project contains all the necessary files. These include a TXT file detailing any special features and GIF files where photos, drawings, etc are applicable. The programs are written in heavily commented Microchip or Atmel AVR assembler and assume you are using one of the freely available assemblers like Microchip MPLAB and Atmel AVR software tools.

The 16X84 projects were developed using a Dontronics DT001 motherboard and programmer with the 16X84 mounted on a DT101 Simmstick. In some cases an additional prototyping board was used. I used Nigel Goodwin's PICPROG DOS programming software.

Pic 16X84 Projects


Fixed delay using the internal timer
Variable delay using the internal timer
Delays using interrupts and the internal timer
Driving a standard 2-line 16 character LCD display
Read/write routines for a 24LC16 16K RAM
Signed 16-bit Binary to ASCII Converter
32-bit Unsigned Binary to BCD to ASCII
32-bit Signed Binary to BCD to ASCII
Serial Input/Output, 9600 8-1-N, Interrupt Driven


Refer all queries to Ron Kreymborg