ghi-electronics / due-libraries

Demo
https://ghi-electronics.github.io/due-libraries/
0 stars 2 forks source link

No config option in Python #51

Closed gus-ghielec closed 2 months ago

gus-ghielec commented 3 months ago

Uee this to get by 'DUELink.Script.Execute("LcdConfig(0x3d,0,0,0)")' but we need config in the lib

Palomino34 commented 2 months ago

below work now

python:

due.Display.Configuration.Type = due.DisplayType.SSD1306
due.Display.Configuration.Update()

due.Display.Clear(0)

due.Display.DrawCircle(1, 2, 2, 5)
due.Display.Show()