Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from smbus2 import SMBus
- import time
- import math
- Oled = SMBus(0x3c)
- bus = "/dev/i2c-2"
- Command_Mode = 0x80
- Data_Mode = 0x40
- grayH = 0xF0
- grayL = 0x0F
- Normal_Display_Cmd = 0xA4
- BasicFont = [[0 for x in range(8)] for x in range(10)]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement