Merge pull request #465 from UncleRus/pcf8591_update
PCF8591 driver update
This commit is contained in:
commit
7cd1afc52d
3 changed files with 54 additions and 23 deletions
|
@ -23,7 +23,7 @@ static void measure(void *pvParameters)
|
|||
while (1)
|
||||
{
|
||||
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
||||
printf("Value: %d\n", pcf8591_read(&dev, 0x03));
|
||||
printf("Value: %d\n", pcf8591_read(&dev, PCF8591_IC_4_SINGLES, 3));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue