mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-20 06:28:59 +00:00
ssd1306: Add function SetFlip and GetFlip (#702)
* ssd1306: Add SetRotation function
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package ssd1306
|
||||
|
||||
import "tinygo.org/x/drivers"
|
||||
|
||||
// Registers
|
||||
const (
|
||||
Address = 0x3D
|
||||
@@ -38,4 +40,7 @@ const (
|
||||
|
||||
EXTERNALVCC VccMode = 0x1
|
||||
SWITCHCAPVCC VccMode = 0x2
|
||||
|
||||
NO_ROTATION = drivers.Rotation0
|
||||
ROTATION_180 = drivers.Rotation180
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user