Format hex values as uppercase
This commit is contained in:
@ -60,8 +60,8 @@ void digipot_i2c_set_current(int channel, float current) {
|
||||
}
|
||||
|
||||
// Initial setup
|
||||
i2c_send(addr, 0x40, 0xff);
|
||||
i2c_send(addr, 0xA0, 0xff);
|
||||
i2c_send(addr, 0x40, 0xFF);
|
||||
i2c_send(addr, 0xA0, 0xFF);
|
||||
|
||||
// Set actual wiper value
|
||||
byte addresses[4] = { 0x00, 0x10, 0x60, 0x70 };
|
||||
|
Reference in New Issue
Block a user