Format hex values as uppercase
This commit is contained in:
parent
77aa16005d
commit
ff0018e287
13 changed files with 201 additions and 201 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue