Program allows for a rectangle displayed on SSD1306-based OLED display to be moved by x- and y-axis uisng two user potentiometers.
Dependencies: mbed Adafruit_GFX
Diff: main.cpp
- Revision:
- 7:5962e77516ac
- Parent:
- 6:02a058f2ec6f
- Child:
- 8:ead6147e31a4
diff -r 02a058f2ec6f -r 5962e77516ac main.cpp --- a/main.cpp Mon Mar 21 04:17:13 2016 +0000 +++ b/main.cpp Sun Mar 20 21:39:52 2016 -0700 @@ -13,6 +13,7 @@ #include "mbed.h" Serial pc(USBTX, USBRX); +Serial pc2(USBTX, USBRX); #define D_SDA PB_7 #define D_SCL PB_6