PortableBalanceLab / PBL

Learn how to create your own balance lab using python and a Raspberry Pi
4 stars 1 forks source link

Refactor `S1` to use `X1` and `X2` to describe writing timestamped CSV files #6

Closed adamkewley closed 1 year ago

adamkewley commented 1 year ago

Previously, each sensor would have its own section on writing+timestamping CSV files. When I reformatted S2, the section on doing that was separated into two eXtra notes (X1 and X2) which each separately explain the process. S2 was then changed to use those extra guides with an explanation like:

🏆 Challenge: Go through the X1 and X2 "eXtra Content" materials.

  • After going through X1, you should know how to write CSV files
  • After going through X2, you should know how to generate timestamped file names
  • Combine both techniques to write your data to a timestamped CSV file

The reason for this refactor was because almost all sensor labs contained almost identical CSV and timestamping guides. From an administration/organizational PoV it's easier to have one centralized set of guides (here X1 and X2) that are shared by all labs, so that any typos, technical details, etc. can be fixed in one place.