//initialize the OLED display on the DS1101/DS1102

 io.num=36; //RST

 io.enabled=YES;

 

 io.num=35; //DC

 io.enabled=YES;

 

 io.num=34; //WR

 io.enabled=YES;

 

 io.num=33; //RD

 io.enabled=YES;

 io.state=HIGH;

 

 io.num=32; //CS

 io.enabled=YES;

 io.state=LOW;

 

 lcd.width=96;

 lcd.height=32;

 lcd.iomapping="36,35,34,33,32,0"; //RST,DC,WR,RD,CS,data_bus

 lcd.enabled=YES;