4d Systems 0.96" micro OLED Display $OLED-96-G2 uOLED-96-G2 Data Sheet

Product codes
uOLED-96-G2
Page of 18
4D SYSTEMS                                                                                          uOLED-96G2 
 
 
 © 2014 4D SYSTEMS                       Page 11 of 18                    www.4dsystems.com.au 
 
mi
cr
oO
LE
D
  
GO
LDE
LO
X  
DI
SP
LA
9. 4DGL - Software Language 
 
The  heart  of  the  uOLED-96G2  module  is  the 
GOLDELOX  graphics  processor  from  4D  Labs.  The 
GOLDELOX  belongs  to  a  family  of  processors 
powered  by  a  highly  optimised  soft  core  virtual 
engine, EVE (Extensible Virtual Engine). 
 
EVE  is  a  proprietary,  high  performance  virtual-
machine  with  an  extensive  byte-code  instruction 
set  optimised  to  execute  compiled  4DGL 
programs.  4DGL  (4D  Graphics  Language)  was 
specifically developed from ground up for the EVE 
engine  core.  It  is  a  high  level  language  which  is 
easy  to  learn  and  simple  to  understand  yet 
powerful  enough  to  tackle  many  embedded 
graphics applications. 
 
4DGL  is  a  graphics  oriented  language  allowing 
rapid  application  development,  and  the  syntax 
structure was designed using elements of popular 
languages such as C, Basic, Pascal and others.  
 
Programmers  familiar  with  these  languages  will 
feel  right  at  home  with  4DGL.  It  includes  many 
familiar  instructions  such  as  IF..ELSE..ENDIF, 
WHILE..WEND,  REPEAT..UNTIL,  GOSUB..ENDSUB, 
GOTO,  PRINT  as  well  as  some  specialised 
instructions 
SERIN, 
SEROUT, 
GFX_LINE, 
GFX_CIRCLE and many more.  
 
For  detailed  information  pertaining  to  the  4DGL 
language, please refer to the following documents: 
“4DGL-Programmers-Reference-Manual.pdf”   
“GOLDELOX-4DGL-Internal-Functions.pdf” 
 
To  assist  with  the  development  of  4DGL 
applications, the Workshop  4 IDE combines a full-
featured  editor,  a  compiler,  a  linker  and  a  down-
loader  into  a  single  PC-based  application.  It's  all 
you need to code, test and run your applications.  
 
4DGL is available to be written in two of the three 
environments  offered  by  the  Workshop  4  IDE, 
Designer and ViSi.  
 
 
 
 
 
 
 
 
 
 
 
 
10. 4D Systems - Workshop 4 IDE 
 
Workshop 4 is a comprehensive software IDE that 
provides  an  integrated  software  development 
platform for all of the 4D family of processors and 
modules.  The  IDE  combines  the  Editor,  Compiler, 
Linker and Downloader to develop complete 4DGL 
application  code.  All  user  application  code  is 
developed within the Workshop 4 IDE. 
 
The 
Workshop 
IDE 
supports 
multiple 
development  environments  for  the  user,  to  cater 
for  different  user  requirements  and  skill  level. 
 
 
The Designer environment enables the user to 
write  4DGL  code  in  its  natural  form  to 
program the uOLED-96G2.  
 
A  visual  programming  experience,  suitably 
called  ViSi,  enables  drag-and-drop  type 
placement of objects to assist with 4DGL code 
generation  and  allows  the  user  to  visualise 
how  the  display  will  look  while  being 
developed.  
 
A  Serial  environment  is  also  provided  to 
transform  the  uOLED-96G2  into  a  slave  serial 
module,  allowing  the  user  to  control  the 
display  from  any  host  microcontroller  or 
device with a serial port. 
 
The  Workshop  4  IDE  is  available  from  the  4D 
Systems website. 
 
For  a  comprehensive  manual  on  the  Workshop  4 
IDE Software along with other documents, refer to 
the documentation  from the  4D Systems  website, 
on the Workshop 4 product page.