diff options
| author | James Barnett <james.barnett@fivium.co.uk> | 2018-07-11 17:20:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-11 17:20:40 +0100 |
| commit | ad91df6c4b5bf0f1015876ceb439893b71df2ddc (patch) | |
| tree | fada6e6cb47541b14d395bade4208697c7e1d2ae /test.ino | |
| parent | 8102b6cf93bcbd9b56d454f8e096f9ddda5e5626 (diff) | |
| parent | 0ac263a3db29d2586a0e83fe2592a9f891c9bee6 (diff) | |
| download | ArduinoOLEDLibrary-ad91df6c4b5bf0f1015876ceb439893b71df2ddc.tar.xz ArduinoOLEDLibrary-ad91df6c4b5bf0f1015876ceb439893b71df2ddc.zip | |
Move example sketch to appropriately named folder
Diffstat (limited to 'test.ino')
| -rw-r--r-- | test.ino | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test.ino b/test.ino deleted file mode 100644 index 491d9b3..0000000 --- a/test.ino +++ /dev/null @@ -1,25 +0,0 @@ -#include <OLEDFourBit.h> - -// see datasheet for pinouts -#define RS 12 //RegisterSelect -#define RW 10 //ReadWrite -#define E 11 //Enable -#define DB4 4 //4bit DataBus -#define DB5 5 -#define DB6 6 -#define DB7 7 - -OLEDFourBit oled(RS, RW, E, DB4, DB5, DB6, DB7); - -void setup() -{ - oled.begin(20,4); - oled.print("Hello World!"); -} - -void loop() -{ - oled.setCursor(0,1); - oled.print(millis()/1000); -} - |