Advertisement
Guest User

Sketch Tiny + SSD

a guest
Sep 6th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.36 KB | None | 0 0
  1. #include <TinyWireM.h>
  2. #include <USI_TWI_Master.h>
  3. #include <Adafruit_SSD1306.h>
  4.  
  5. #ifdef __AVR__
  6. #include <avr/power.h>
  7. #endif
  8. void setup() {
  9.   // put your setup code here, to run once:
  10. #if defined (__AVR_ATtiny85__)
  11.   if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
  12. #endif
  13. }
  14.  
  15. void loop() {
  16.   // put your main code here, to run repeatedly:
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement