Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 043d005

Browse files
committedJul 18, 2024
Add empty line to examples
1 parent 629fcaf commit 043d005

File tree

7 files changed

+8
-2
lines changed

7 files changed

+8
-2
lines changed
 

‎examples/distance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
22
This example shows how to use the ModulinoDistance class to read the distance from the Time of Flight sensor of the Modulino.
3+
34
The sensor works by sending out short pulses of light and then measure the time it takes for some of the emitted light to come back
45
when it hits an object. The time it takes for the light to come back is directly proportional to the distance between the sensor and the object.
56

‎examples/knob.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
22
This example shows how to use the ModulinoKnob class to read the value of a rotary encoder knob.
3+
34
The knob is used to increase or decrease a value. The knob is rotated clockwise to increase the value and counter-clockwise to decrease it.
45
56
You can register callbacks for the following events:

‎examples/knob_buzzer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
22
This example demonstrates how to use the ModulinoKnob and ModulinoBuzzer classes to play different notes using a buzzer.
3+
34
The knob is used to select the note to play. The knob is rotated clockwise to increase the frequency of the note and counter-clockwise to decrease it.
45
Once the knob is pressed, the buzzer stops playing the note.
56
Only the notes between 400 and 2000 Hz from the predefined list are played in this example.

‎examples/knob_pixels.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
22
This example shows how to use the ModulinoKnob and ModulinoPixels classes to control a set of pixels with a knob.
3+
34
The knob is used to set the number of pixels to turn on.
45
The range property of the knob is used to map the knob values to the number of pixels to turn on.
56

‎examples/pixels.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
22
This example shows how to use the ModulinoPixels class to control a set of pixels.
3+
34
The pixels are set to different colors and animations.
45
You can use the ModulinoColor class to set predefined colors:
56
- RED, GREEN, BLUE, YELLOW, CYAN, VIOLET, WHITE

‎examples/pixels_thermo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
22
This example shows how to use the ModulinoPixels and ModulinoThermo classes to display the temperature on a pixel strip.
3+
34
A high temperature is represented by red color and a lower temperature with a yellow color.
45
56
The pixels will map to the temperature range so that the first pixel represents

‎examples/thermo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
This example shows how to use the ModulinoThermo class to read
3-
the temperature and humidity from the Modulino.
2+
This example shows how to use the ModulinoThermo class to read the temperature and humidity from the Modulino.
3+
44
If those values are temporarily unavailable, they will be set to None.
55
66
Initial author: Sebastian Romero (s.romero@arduino.cc)

0 commit comments

Comments
 (0)