ssd1306: Add function SetFlip and GetFlip (#702)

* ssd1306: Add SetRotation function
This commit is contained in:
たぬき
2024-08-19 08:45:59 +09:00
committed by GitHub
parent dd44f9220b
commit d688fa3f3f
2 changed files with 26 additions and 8 deletions
+5
View File
@@ -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
)