File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ uint16_t battery_status_handle;
81
81
//infos about the manufacturer, model, firmware, ... for the device information service
82
82
static const char * manuf_name = "SimLinkModule" ;
83
83
static const char * model_num = "P-1.0" ;
84
- static const char * firmware_rev = "1.0 " ;
85
- static const char * software_rev = "1.0 " ;
84
+ static const char * firmware_rev = "1.01 " ;
85
+ static const char * software_rev = "1.01 " ;
86
86
87
87
static const uint8_t hidInfo [HID_INFORMATION_LEN ] = {
88
88
0x01 , 0x01 , // bcdHID (USB HID version) --> Version 1.01
Original file line number Diff line number Diff line change @@ -87,10 +87,10 @@ void ssd1306_init(){
87
87
i2c_master_write_byte (cmd , 0x00 , true);
88
88
//set the RAM display start line to 0
89
89
i2c_master_write_byte (cmd , SSD1306_CMD_SET_DISPLAY_START_LINE , true);
90
- //mirror the x-axis. alternative = SSD1306_CMD_SET_SEGMENT_REMAP_0
91
- i2c_master_write_byte (cmd , SSD1306_CMD_SET_SEGMENT_REMAP_1 , true);
92
- //mirror the y-axis. alternative = SSD1306_CMD_SET_COM_SCAN_MODE_0
93
- i2c_master_write_byte (cmd , SSD1306_CMD_SET_COM_SCAN_MODE_1 , true);
90
+ //mirror the x-axis. alternative = SSD1306_CMD_SET_SEGMENT_REMAP_1
91
+ i2c_master_write_byte (cmd , SSD1306_CMD_SET_SEGMENT_REMAP_0 , true);
92
+ //mirror the y-axis. alternative = SSD1306_CMD_SET_COM_SCAN_MODE_1
93
+ i2c_master_write_byte (cmd , SSD1306_CMD_SET_COM_SCAN_MODE_0 , true);
94
94
//set the COM PinMap to fit 32 lines
95
95
i2c_master_write_byte (cmd , SSD1306_CMD_SET_COM_PIN_MAP , true);
96
96
i2c_master_write_byte (cmd , 0x02 , true);
You can’t perform that action at this time.
0 commit comments