![](/media/cache/profiles/nikki.png.50x50_q85.jpg)
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:
- 5:a4fddd74263c
- Parent:
- 4:ad1195c10812
- Child:
- 6:02a058f2ec6f
diff -r ad1195c10812 -r a4fddd74263c main.cpp --- a/main.cpp Mon Mar 21 04:06:14 2016 +0000 +++ b/main.cpp Mon Mar 21 04:09:15 2016 +0000 @@ -42,9 +42,7 @@ pc.printf("I2C scanner \r\n"); scanI2C(); pc.printf("Finished Scan\r\n"); - - ack = i2c.write(71, "11", 1); - + // just blink to let us know the CPU is alive while(1) { wait(5.0); myled = !myled;