My goal here is to create an easy to use, OOP Based, Shift Register lib for all yall to use!
I've done some lib development before, but I really haven't seen too many libs focusing on Shift Registers. So, right now, this post is just a placeholder for the lib in the making. I am about 1/2 way through with it, I'll keep you guys posted while in dev!
Currently defined functions:
shiftRegister.begin(int, int, int); //Define pins to use for latch, clock, and data. Last int defines number of registers.
shiftRegister.setPinState(int, bool); // I'll implement error handling later for trying to set pins that dont exits (or throw any other errors)
shiftRegister.setAllLow(); //This will actually set ALL the pins to low internaly, to tie up any loose ends
shiftRegister.setAllHigh();
shiftRegister.latchOn();
shiftRegister.latchOff();
shiftRegister.latchAuto();
shiftRegister.flush(); //Flush output to registers
shiftRegister.pwm(int); //I may take this one out if its too buggy
shiftRegister.random(); //for fun!
shiftRegister.setDedbugMode(int); //Set different debug modes to debug to the serial port for ease of... well... debugging!
/*
The LCD code is in pre alpha even, it may take a while to get up :)
*/
shiftRegister.setLcdMode(); //to support 3 wire LCD :)
shiftRegister.sendLcdChar();
shiftRegister.clearLcd();
As the code is developed and debugged further, I'll be posting more code!
Stay Tuned!
Also, if you have any comments or questions, please fell free to say (this is a forum after all!)