graphicsHostLibrary

graphicsHostLibrary

A host library for the serial graphics terminal

Name Last Update
dist/default/production Loading commit data...
doxygen/latex Loading commit data...
drawings Loading commit data...
nbproject Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
TFTGaddPoint.c Loading commit data...
TFTGcolors.c Loading commit data...
TFTgetTouch.c Loading commit data...
TFTprintDecRight.c Loading commit data...
TFTputsTT.c Loading commit data...
TFTsend2.c Loading commit data...
TFTsend4.c Loading commit data...
clearSerial.c Loading commit data...
delay.c Loading commit data...
doxyfile Loading commit data...
getch.c Loading commit data...
graphicsHostLibrary.h Loading commit data...
graphicsHostLocal.h Loading commit data...
graphingStrings.c Loading commit data...
idleSync.c Loading commit data...
makedoc Loading commit data...
processorFrequency.h Loading commit data...
putString.c Loading commit data...
putch.c Loading commit data...
sendWord.c Loading commit data...
serialinitialize.c Loading commit data...
tputs.c Loading commit data...

Graphics host library for PIC24FV

This project provides an easy way for the 16-bit PIC programmer to use the serial graphics terminal. The project as written uses a PIC24FV32KA301, but should be usable on any 16 or 32 bit PIC with few, if any, modifications.

The library implements the wire protocol described in https://gitlab.com/PIC32MX/Wire_Protocol, but the doxygen file, doxygen/latex/refman.pdf is probably a better reference for most programmers.

One modification highly likely is to the file processorFrequency.h. This file is set up to use the internal oscillator of the PIC24 with the PLL resulting in a 16 MIPS instruction rate. Different oscillator choices will require that this file be adjusted to compensate for the different clock rate.

For some processors it may be necessary to adjust serialinitialize.c and possibly putch.c, but the author has used these files with a variety of 16-bit PICs and has yet to encounter the need to make a change.

The touch side of this software is not yet complete, but when used, it may be that getch.c will also require adjustment.

Related: