Arduino Multi Function Shield: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
*[https://gist.github.com/gazolla/7a04a433902ff6c7e55b Sample code] | *[https://gist.github.com/gazolla/7a04a433902ff6c7e55b Sample code] | ||
*[http://www.sniff.org.uk/2015/04/arduino-multifunction-shield.html Sniff] | *[http://www.sniff.org.uk/2015/04/arduino-multifunction-shield.html Sniff] | ||
*[http://www.kerrywong.com/2010/04/10/4-digit-7-segment-display-using-arduino/ LED display character map] | |||
=Pins= | =Pins= | ||
==LED display== | |||
#define LATCH_DIO 4 | #define LATCH_DIO 4 | ||
#define CLK_DIO 7 | #define CLK_DIO 7 | ||
Line 24: | Line 25: | ||
make button2 digital input A2 | make button2 digital input A2 | ||
make button3 digital input A3 | make button3 digital input A3 | ||
=LED display character map= |
Revision as of 16:42, 20 November 2015
Arduino Multi function shield
Links
Pins
LED display
- define LATCH_DIO 4
- define CLK_DIO 7
- define DATA_DIO 8
//analog (A0?)
- define Pot1 0
int led1 = 13; int led2 = 12; int led3 = 11; int led4 = 10;
- define BUTTON1 A1
- define BUTTON2 A2
make button1 digital input A1 make button2 digital input A2 make button3 digital input A3