Skip to content

Commit 7653805

Browse files
add modulino images in docs
1 parent d62bfa6 commit 7653805

8 files changed

+14
-0
lines changed

docs/images/modulino-buttons.jpeg

183 KB
Loading

docs/images/modulino-buzzer.jpg

168 KB
Loading

docs/images/modulino-distance.jpg

137 KB
Loading

docs/images/modulino-knob.jpg

156 KB
Loading

docs/images/modulino-movement.jpg

158 KB
Loading

docs/images/modulino-pixels.jpg

175 KB
Loading

docs/images/modulino-thermo.jpg

144 KB
Loading

docs/readme.md

+14
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ modulino_name.begin(); // Initialize the ModulinoType module
4141
### ModulinoButtons
4242
Manages the state of three buttons and controls their associated LED states. You can read the state of each button and send commands to turn the LEDs on/off.
4343

44+
![Modulino Buttons](./images/modulino-buttons.jpg)
45+
4446
```cpp
4547
ModulinoButtons buttons;
4648
buttons.begin();
@@ -50,6 +52,8 @@ buttons.setLeds(true, false, true); // Turn on LED 1 and LED 3
5052
### ModulinoBuzzer
5153
Allows you to emit sounds through the buzzer. You can set the frequency and duration of the sound.
5254

55+
![Modulino Buzzer](./images/modulino-buzzer.jpg)
56+
5357
```cpp
5458
ModulinoBuzzer buzzer;
5559
buzzer.begin();
@@ -59,6 +63,8 @@ buzzer.tone(440, 1000); // 440Hz frequency for 1000ms
5963
### ModulinoPixels
6064
Controls an array of 8 RGB LEDs, allowing you to set the colors and brightness. You can also clear individual LEDs or the entire array.
6165

66+
![Modulino Pixels](./images/modulino-pixels.jpg)
67+
6268
```cpp
6369
ModulinoPixels leds;
6470
leds.set(0, ModulinoColor(255, 0, 0)); // Set the first LED (Position: 0) to red
@@ -68,6 +74,8 @@ leds.show(); // Display the LEDs
6874
### ModulinoKnob
6975
Manages a rotary encoder, allowing you to read the potentiometer value and check if the knob is pressed.
7076

77+
![Modulino Knob](./images/modulino-knob.jpg)
78+
7179
```cpp
7280
ModulinoKnob knob;
7381
knob.begin();
@@ -77,6 +85,8 @@ int16_t value = knob.get(); // Get the value of the encoder
7785
### ModulinoMovement
7886
Interfaces with the LSM6DSOX IMU sensor to get acceleration readings.
7987

88+
![Modulino Movement](./images/modulino-movement.jpg)
89+
8090
```cpp
8191
ModulinoMovement movement;
8292
movement.begin();
@@ -86,6 +96,8 @@ float x = movement.getX();
8696
### ModulinoThermo
8797
Reads temperature and humidity data from the HS300x sensor.
8898

99+
![Modulino Thermo](./images/modulino-thermo.jpg)
100+
89101
```cpp
90102
ModulinoThermo thermo;
91103
thermo.begin();
@@ -96,6 +108,8 @@ float humidity = thermo.getHumidity();
96108
### ModulinoDistance
97109
Measures distance using a ToF (Time-of-Flight) sensor.
98110

111+
![Modulino Distance](./images/modulino-distance.jpg)
112+
99113
```cpp
100114
ModulinoDistance distance;
101115
distance.begin();

0 commit comments

Comments
 (0)