Sub Público Inicializa_Display_OLED_ST7735
Tronco("****************")
Registro ("* DISPLAY OLED *")
Tronco("****************")
Tronco ("Inicializa Pines")
'Inicializa los Pines para el Display
CS_Oled.Initialize (Main.Pines.D3, CS_Oled.MODE_OUTPUT)
RTS_Oled.Initialize (Main.Pines.D4, RTS_Oled.MODE_OUTPUT)
RS_Oled.Initialize (Main.Pines.D2, RS_Oled.MODE_INPUT_PULLUP)
'Inicializa la Libreria
Log ("Inicializa HARDWARE")
Oled.InitializeHardware (CS_Oled.PinNumber, RS_Oled.PinNumber, RTS_Oled.PinNumber, 0)
'Inicializa el SOFTWARE
Log ("Software Inicializa")
'Oled.InitializeSoftware (CS_Oled.PINNUMBER, RS_Oled.PinNumber, Main.Pines.D7, Main.Pines.D5, RTS_Oled.PINNUMBRE, 0)
'Oled.InitializeSoftware (3,2,7,5,4,0)
Oled.FillScreen (Oled.COLOR_BLACK)
'Oled.GFX.DrawCircle (10, 10, 10, Oled.COLOR_RED, Verdadero)
Oled.GFX.DrawText ("Hola Mundo")
End Sub