Add more register names + refactoring

This commit is contained in:
Kostas Missos committed 2019-09-09 16:56:37 +03:00
1 parent c1e072986d
commit 718e502983
38 files changed
+330 -201

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ u16 tmp451_get_pcb_temp(bool intenger)
void tmp451_init()
{
// Disable ALARM.
// Disable ALARM and Range to 0 - 127 oC.
i2c_send_byte(I2C_1, TMP451_I2C_ADDR, TMP451_CONFIG_REG, 0x80);
// Set conversion rate to 32/s and make a read to update the reg.