Skip to content

Commit b4e1355

Browse files
authored
Update content/hardware/07.opta/opta-family/opta/tutorials/18.smart-compressor-app-note/content.md
1 parent 344dc98 commit b4e1355

File tree

1 file changed

+2
-2
lines changed
  • content/hardware/07.opta/opta-family/opta/tutorials/18.smart-compressor-app-note

1 file changed

+2
-2
lines changed

content/hardware/07.opta/opta-family/opta/tutorials/18.smart-compressor-app-note/content.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ void loop() {
287287
}
288288
```
289289

290-
The function `SensorRead()` reads the sensor data, as they are connected to the Opta analog inputs we can easily read them by sampling their respective ADC inputs. Also, it check for the Ethernet connection to decide on sending the sensor readings through Modbus TCP.
290+
The `SensorRead()` function reads the sensor data. Since the sensors are connected to the Opta's analog inputs, we can easily read them by sampling their respective ADC inputs. This function also checks the Ethernet connection to decide whether to send the sensor readings via Modbus TCP.
291291

292-
To convert the Opta ADC raw readings into voltage the following method can be used:
292+
To convert the Opta's ADC raw readings into voltage, the following method can be used:
293293

294294
```arduino
295295
Voltage = analogRead(<Input>) * (3.3 / 4095.0) / 0.30337;

0 commit comments

Comments
 (0)