Dezibot 4
Loading...
Searching...
No Matches
DisplayCMDs.h
Go to the documentation of this file.
1#define cmd_byte 0x80
2#define data_byte 0x40
3#define muxRatio 0xa8 //needs second argument ranging from 16-63
4#define setOffset 0xd3 //needs second argument ranging from 0-63
5#define setStartLine 0x40
6#define setSegmentMap 0xa0
7#define setSegmentReMap 0xa1
8#define setComDirectionNormal 0xc0
9#define setComDirectionFlipped 0xc8
10#define setComHardwareConfig 0xda //needs second arg
11#define setContrast 0x81 //needs second arg
12#define completeOn 0xa5
13#define stopCompleteOn 0xa4
14#define setNormalMode 0xa6
15#define setInverseMode 0xa7
16#define setOscFreq 0xd5 //needs second arg
17#define setChargePump 0x8d//needs second arg 0x14 for enable
18#define activateDisplay 0xaf
19#define disableDisplay 0xae
20#define addressingMode 0x20
21#define colRange 0x21
22#define pageRange 0x22
23
24#define DisplayAdress 0x3C