Electronic Components Datasheet Search
  English  ▼

X  

DEV-13628 Datasheet(PDF) 10 Page - SparkFun Electronics

Part # DEV-13628
Description  Photon OLED Shield Hookup Guide
PDF  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SPARKFUN [SparkFun Electronics]
Direct Link  https://www.sparkfun.com/
Logo SPARKFUN - SparkFun Electronics

DEV-13628 Datasheet(HTML) 10 Page - SparkFun Electronics

Back Button DEV-13628 Datasheet HTML 4Page - SparkFun Electronics DEV-13628 Datasheet HTML 5Page - SparkFun Electronics DEV-13628 Datasheet HTML 6Page - SparkFun Electronics DEV-13628 Datasheet HTML 7Page - SparkFun Electronics DEV-13628 Datasheet HTML 8Page - SparkFun Electronics DEV-13628 Datasheet HTML 9Page - SparkFun Electronics DEV-13628 Datasheet HTML 10Page - SparkFun Electronics DEV-13628 Datasheet HTML 11Page - SparkFun Electronics DEV-13628 Datasheet HTML 12Page - SparkFun Electronics  
Zoom Inzoom in Zoom Outzoom out
 10 / 12 page
background image
  oled.setCursor(0, 0);
  oled.print("_`abcdefghijklmnopqrs");
  oled.display();
delay(1000);
  oled.clear(PAGE);
  oled.setCursor(0, 0);
  oled.print("tuvwxyz{|}~");
  oled.display();
delay(1000);
// Demonstrate font 2. 10x16. Only numbers and '.' are defin
ed. 
// This font looks like 7­segment displays.
// Lets use this big­ish font to display readings from the
// analog pins.
for (int i=0; i<25; i++)
  { 
    oled.clear(PAGE);            // Clear the display
    oled.setCursor(0, 0);        // Set cursor to top­left
    oled.setFontType(0);         // Smallest font
    oled.print("A0:");          // Print "A0"
    oled.setFontType(2);         // 7­segment font
    oled.print(analogRead(A0));  // Print a0 reading
    oled.setCursor(0, 16);       // Set cursor to top­middle­l
eft
    oled.setFontType(0);         // Repeat
    oled.print("A1:");
    oled.setFontType(2);
    oled.print(analogRead(A1));
    oled.setCursor(0, 32);
    oled.setFontType(0);
    oled.print("A7:");
    oled.setFontType(2);
    oled.print(analogRead(A7));
    oled.display();
delay(100);
  } 
// Demonstrate font 3. 12x48. Stopwatch demo.
  oled.setFontType(3);  // Use the biggest font
int ms =0;
int s =0;
while (s <= 50)
  { 
    oled.clear(PAGE);     // Clear the display
    oled.setCursor(0, 0); // Set cursor to top­left
if (s < 10)
      oled.print("00");   // Print "00" if s is 1 digit
else if (s < 100)     
      oled.print("0");    // Print "0" if s is 2 digits
    oled.print(s);        // Print s's value
    oled.print(":");      // Print ":"
    oled.print(ms);       // Print ms value
    oled.display();       // Draw on the screen
    ms++;         // Increment ms
if (ms >= 10) // If ms is >= 10
    { 
      ms =0;     // Set ms back to 0
      s++;        // and increment s
    } 
delay(1);
  } 
} 
// Center and print a small title
Page 10 of 12



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com