ccarman602

Lesson-7-OLED

Nov 25th, 2021 (edited)
530
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <U8x8lib.h>
  2. U8X8_SSD1306_128X64_ALT0_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
  3. void setup(void) { u8x8.begin(); u8x8.setFlipMode(1);
  4. }
  5. void loop(void) { u8x8.setFont(u8x8_font_chroma48medium8_r); u8x8.setCursor(0, 0);
  6. u8x8.print("Test!");
  7. }
  8.  
RAW Paste Data