Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added update of ds18b20.h
  • Loading branch information
gheja committed Feb 2, 2020
1 parent f5a3675 commit 4b404fa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ds18b20.h
Expand Up @@ -13,7 +13,13 @@ static const uint16_t kDS18B20_CrcCheckFailed = 0x5000;
* Trigger all devices on the bus to perform a temperature reading
* This returns immedidately, but callers must wait for conversion on slaves (max 750ms)
*/
void ds18b20_convert(const gpin_t* io);
uint16_t ds18b20_convert(const gpin_t* io);

/**
* Trigger a specific device on the bus to perform a temperature reading
* This returns immedidately, but callers must wait for conversion on slaves (max 750ms)
*/
uint16_t ds18b20_convert_slave(const gpin_t* io, uint8_t* address);

/**
* Read the last temperature conversion from the only probe on the bus
Expand Down

0 comments on commit 4b404fa

Please sign in to comment.