You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PicoAirQuality.py
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ def highPowerOff(self, pin):
109
109
classKitronikDataLogger:
110
110
# Function is called when the class is initialised - sets the maximum permissable filesize, the data separator and creates the log file with the entered filename
The first writes a standard header line to the file, and then allows two user-entered fields, designated here as 'name' and 'subject'.
206
+
The first writesup to three user-entered free text fields (if only two arguments are given, only two lines will be written).
207
207
The second allows the user to include up to 10 data field headings which can then need to be matched to the order of the data fields in the data entry (these headings will become column headings if the data is imported to a spreadsheet program).
208
208
With these sections included, the start of a log file will look something like this:
209
209
```
@@ -237,7 +237,7 @@ To register a servo ready to be used:
237
237
```python
238
238
output.registerServo()
239
239
```
240
-
This process sets the PIO PWM active on the servo pin.
240
+
This process sets the PIO PWM active on the servo pin (**Note:** The servo is registered by default).
241
241
To control the movement of a servo, turning it to a set angle (or controlling the speed/direction of a continuous rotation servo):
0 commit comments