Problem
Several public classes ship with no example sketch, even though Arduino surfaces examples prominently (File → Examples → Makeability Lab) and they're the primary way students discover a class. The bundled examples only cover shapes/joystick/games.
Classes with no example:
Button
MovingAverageFilter
ColorName
FileUtils
ScrollingLineGraph
ScrollingLineGraphMultiValue
As a side effect, these classes are never compiled by CI (the Compile Examples workflow only builds examples/), so regressions in them won't be caught.
Proposed work
Add a minimal example sketch per class. This also gives each one free CI coverage. Good candidates:
Button/ButtonBasic
MovingAverageFilter/SmoothAnalogInput
ColorName/ClosestColorMatch
FileUtils/ListSdFiles
ScrollingLineGraph/GraphAnalogInput
ScrollingLineGraphMultiValue/GraphTwoInputs
Notes
- The README already has usable code snippets for most of these — they can seed the examples.
- Several existing arduino-repo sketches already exercise
ScrollingLineGraphMultiValue and can be adapted.
Problem
Several public classes ship with no example sketch, even though Arduino surfaces examples prominently (File → Examples → Makeability Lab) and they're the primary way students discover a class. The bundled examples only cover shapes/joystick/games.
Classes with no example:
ButtonMovingAverageFilterColorNameFileUtilsScrollingLineGraphScrollingLineGraphMultiValueAs a side effect, these classes are never compiled by CI (the
Compile Examplesworkflow only buildsexamples/), so regressions in them won't be caught.Proposed work
Add a minimal example sketch per class. This also gives each one free CI coverage. Good candidates:
Button/ButtonBasicMovingAverageFilter/SmoothAnalogInputColorName/ClosestColorMatchFileUtils/ListSdFilesScrollingLineGraph/GraphAnalogInputScrollingLineGraphMultiValue/GraphTwoInputsNotes
ScrollingLineGraphMultiValueand can be adapted.