PDA

View Full Version : Shiftout Modifiers for SPI LCDs (DOGM series)



jbike123
- 9th November 2010, 01:08
I am using a PIC16F648a with 3 SPI devices- An LCD (DOGM163), a pressure sensor, and an seeprom. They all work, but it would be nice if the same modifiers used in LCDOUT, SEROUT, HSEROUT, DEBUGIN etc. could be integrated into SHIFTOUT command so I could format data to the SPI more easily (ie. with modifiers such as DEC, SDEC, BIN). I see the code for the modifiers is in PBPPIC14.LIB, so maybe it wouldn't be too hard to move it into the SHIFTOUT section as well.