background image

 

WPI438 

V. 01 

 22/12/2021 

©Velleman nv 

    draw(); 
  } while( u8g.nextPage() ); 
   
  // increase the state 
  dra+; 
  if ( draw_state >= 9*8 ) 
    draw_state = 0; 
   
  // rebuild the picture after some delay 
  //delay(150); 
 

 

8.

 

More Information 

Please refer to the WPI438 product page on 

www.velleman.eu

 for more information. 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Use this device with original accessories only. Velleman nv cannot be held responsible in the event 
of damage or injury resulting from (incorrect) use of this device. For more info concerning this 
product and the latest version of this manual, please visit our website www.velleman.eu. The 
information in this manual is subject to change without prior notice. 

 

© COPYRIGHT NOTICE 
The copyright to this manual is owned by Velleman nv. All worldwide rights reserved. 

No part of this 

manual may be copied, reproduced, translated or reduced to any electronic medium or otherwise without the 
prior written consent of the copyright holder.  
 

Summary of Contents for WPI438

Page 1: ...WPI438 0 96 INCH OLED SCREEN WITH I2C FOR ARDUINO USER MANUAL ...

Page 2: ...h the functions of the device before actually using it All modifications of the device are forbidden for safety reasons Damage caused by user modifications to the device is not covered by the warranty Only use the device for its intended purpose Using the device in an unauthorised way will void the warranty Damage caused by disregard of certain guidelines in this manual is not covered by the warra...

Page 3: ...ution considering their small size resolution 128 x 64 dots viewing angle 160 working voltage 3 to 5 V recommended library U8glib interface I2C driver SSD1306 working temperature 30 C to 70 C OLED colour blue I O level 3 3 5 V dimensions 27 x 27 mm 6 Pin Layout VCC 3 3 5 V power supply Gnd ground SCL serial clock line SDA serial data line 7 Example Connection Vcc 5V Gnd Gnd SCL A5 SDA A4 ...

Page 4: ... c 2012 olikraus gmail com All rights reserved Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met Redistributions of source code must retain the above copyright notice this list of conditions and the following disclaimer Redistributions in binary form must reproduce the above copyright notice this list of cond...

Page 5: ...ultForegroundColor u8g setFontPosTop void u8g_box_frame uint8_t a u8g drawStr 0 0 drawBox u8g drawBox 5 10 20 10 u8g drawBox 10 a 15 30 7 u8g drawStr 0 30 drawFrame u8g drawFrame 5 10 30 20 10 u8g drawFrame 10 a 15 30 30 7 void u8g_disc_circle uint8_t a u8g drawStr 0 0 drawDisc u8g drawDisc 10 18 9 u8g drawDisc 24 a 16 7 u8g drawStr 0 30 drawCircle u8g drawCircle 10 18 30 9 u8g drawCircle 24 a 16 ...

Page 6: ...fset 40 offset 45 offset 30 offset 86 offset 53 offset void u8g_ascii_1 char s 2 uint8_t x y u8g drawStr 0 0 ASCII page 1 for y 0 y 6 y for x 0 x 16 x s 0 y 16 x 32 u8g drawStr x 7 y 10 10 s void u8g_ascii_2 char s 2 uint8_t x y u8g drawStr 0 0 ASCII page 2 for y 0 y 6 y for x 0 x 16 x s 0 y 16 x 160 u8g drawStr x 7 y 10 10 s void u8g_extra_page uint8_t a if u8g getMode U8G_MODE_HICOLOR u8g getMod...

Page 7: ...wStr 0 6 a setScale2x2 u8g undoScale uint8_t draw_state 0 void draw void u8g_prepare switch draw_state 3 case 0 u8g_box_frame draw_state 7 break case 1 u8g_disc_circle draw_state 7 break case 2 u8g_r_frame draw_state 7 break case 3 u8g_string draw_state 7 break case 4 u8g_line draw_state 7 break case 5 u8g_triangle draw_state 7 break case 6 u8g_ascii_1 break case 7 u8g_ascii_2 break case 8 u8g_ext...

Page 8: ...responsible in the event of damage or injury resulting from incorrect use of this device For more info concerning this product and the latest version of this manual please visit our website www velleman eu The information in this manual is subject to change without prior notice COPYRIGHT NOTICE The copyright to this manual is owned by Velleman nv All worldwide rights reserved No part of this manua...

Reviews: