Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <Wire.h>
  2. #include <SPI.h>
  3. #include <SFE_MicroOLED.h>
  4.  
  5. #define PIN_RESET 9 // Connect RST to pin 9
  6. #define DC_JUMPER 0
  7.  
  8. MicroOLED oled(9, 0x33C);
  9.  
  10. void setup()
  11. {
  12. oled.begin();
  13. oled.clear(ALL);
  14. oled.display();
  15. oled.clear(PAGE);
  16. }
  17.  
  18. void loop()
  19. {
  20. oled.clear(PAGE);
  21. oled.setCursor(10, 10);
  22. oled.print("Mode auto");
  23. oled.display();
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement