Fix nibble
This commit is contained in:
parent
e838d76e72
commit
72ed947273
4 changed files with 11 additions and 8 deletions
|
@ -80,10 +80,12 @@ void LCR_appendDataStr(const char *str)
|
|||
|
||||
void setup()
|
||||
{
|
||||
*((volatile uint32_t *) 0x60000900) &= ~(1); // disable watchdog
|
||||
// *((volatile uint32_t *) 0x60000900) &= ~(1); // disable watchdog
|
||||
|
||||
wdt_disable();
|
||||
|
||||
dac.begin(MCP4725address);
|
||||
delay (100);
|
||||
delay(100);
|
||||
dac.setVoltage(0,false);
|
||||
mcp.begin(MCP23017address);
|
||||
delay(100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue