4d Systems 0.96" Arduino Display Module Pack $OLED-96-G2-AR uOLED-96-G2-AR Data Sheet

Product codes
uOLED-96-G2-AR
Page of 8
4D SYSTEMS                                                                                     uOLED-96-G2-AR 
 
 
 © 2014 4D SYSTEMS                      Page 5 of 8                     www.4dsystems.com.au 
 
uO
LE
D
-96
-G2
-AR 
– 
Ar
du
ino
 Di
sp
la
Mo
dul
e P
ack
 
3. Arduino Serial Library Functions (For use with Serial/SPE Environment only) 
The  following  is  a  list  of  Arduino  functions  available  to  use  with  the  4D  Systems  Arduino  Serial  Library  for 
Goldelox Modules. These commands are only relevant if the display is configured to use the Serial Environment. 
They are not relevant for the other environments available with the Workshop4 IDE. 
For detailed information on each of these functions, please refer to the Arduino Library itself available from the 
samples menu of the 4D Systems Workshop 4 Software or from the 4D Systems Github Repository. Please also 
refer  to  the  product  page  and  to  the  Application  Notes,  available  from  the  4D  Systems  website, 
 
Graphics Functions: 
• 
gfx_Cls() 
• 
gfx_ChangeColour(oldColour, newColour) 
• 
gfx_Circle(x, y, radius, colour) 
• 
gfx_CircleFilled(x, y, radius, colour) 
• 
gfx_Line(x1, y1, x2, y2, colour) 
• 
gfx_Rectangle(x1, y1, x2, y2, colour) 
• 
gfx_RectangleFilled(x1, y1, x2, y2, colour) 
• 
gfx_Polyline(n, vx, vy, colour) 
• 
gfx_Polygon(n, vx, vy, colour) 
• 
gfx_Triangle(x1, y1, x2, y2, x3, y3, colour) 
• 
gfx_Orbit(angle, distance) 
• 
gfx_PutPixel(x, y, colour) 
• 
gfx_GetPixel(x, y) 
• 
gfx_MoveTo(xpos, ypos) 
• 
gfx_LineTo(xpos, ypos) 
• 
gfx_SetClipRegion() 
• 
gfx_ClipWindow(x1, y1, x2, y2) 
• 
gfx_Set(function, value) 
gfx_Set shortcuts: 
•  gfx_BGcolour(colour) 
•  gfx_Clipping(mode) 
•  gfx_TransparentColour(colour)  
 
 
•  gfx_Transparency(mode)    
 
•  gfx_FrameDelay(delay) 
•  gfx_ScreenMode(delay) 
•  gfx_OutlineColour(colour) 
•  gfx_Contrast(value) 
•  gfx_LinePattern(pattern) 
 
 
Text and String Functions: 
• 
charwidth('char') 
• 
charheight('char') 
• 
putstr(pointer) 
• 
putCH(pointer) 
• 
txt_Set(function, value) 
txt_Set shortcuts: 
•  txt_FGcolour(colour) 
•  txt_BGcolour(colour) 
•  txt_FontID(id) 
•  txt_Width(multiplier) 
•  txt_Height(multiplier) 
•  txt_Xgap(pixelcount) 
•  txt_Ygap(pixelcount)