0.1.3 - Adapted for physical reset circuit on 595.

master
Jay 5 years ago
parent 3136e0d30c
commit 56419060d2

@ -20,5 +20,6 @@ Schematics and pictures up later.
29-Dec-2019: Version 0.1 - Added a display. Cleaned up code. Made a repository. 29-Dec-2019: Version 0.1 - Added a display. Cleaned up code. Made a repository.
29-Dec-2019: Version 0.1.1 - Added preliminary IR remote support 29-Dec-2019: Version 0.1.1 - Added preliminary IR remote support
30-Dec-2019: Version 0.1.2 - Controls ShiftReset and OutputEnable on 595 to prevent random start-up state. 30-Dec-2019: Version 0.1.2 - Controls ShiftReset and OutputEnable on 595 to prevent random start-up state.
30-Dec-2019: Version 0.1.3 - Removed ShiftReset function. Replaced with reset circuit onboard.
```` ````

@ -1,7 +1,7 @@
/* /*
PMA770Relay 0.1.1 PMA770Relay 0.1.3
dewdude@gmail.com - 29-12-2019 dewdude@gmail.com - 30-12-2019
*/ */
#include <Wire.h> #include <Wire.h>
@ -12,7 +12,6 @@
int latchPin = 11; int latchPin = 11;
int clockPin = 9; int clockPin = 9;
int dataPin = 12; int dataPin = 12;
int srReset = 6;
int IRin = 7; int IRin = 7;
int srEnable = 5; int srEnable = 5;
int matrix = A0; int matrix = A0;
@ -99,9 +98,7 @@ void setup()
pinMode(latchPin, OUTPUT); pinMode(latchPin, OUTPUT);
pinMode(dataPin, OUTPUT); pinMode(dataPin, OUTPUT);
pinMode(clockPin, OUTPUT); pinMode(clockPin, OUTPUT);
pinMode(srReset, OUTPUT);
pinMode(srEnable, OUTPUT); pinMode(srEnable, OUTPUT);
digitalWrite(srReset,HIGH);
remote.enableIRIn(); remote.enableIRIn();
bitSet(out,5); bitSet(out,5);
lcd.init(); lcd.init();

Loading…
Cancel
Save