This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:remotelab:ume:smartme:b3 [2019/10/29 10:53] – pczekalski | en:iot-open:remotelab:ume:smartme:b3 [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| === Prerequisites === | === Prerequisites === | ||
| - | === Liquid Crystal | + | == Liquid Crystal == |
| - | For this library, you may refer to the [[en: | + | For this library, you may refer to the [[en: |
| - | === RGB LED === | + | == RGB LED == |
| The SmartME Network Laboratory Arduino nodes 1-5 are equipped with an RGB LED. | The SmartME Network Laboratory Arduino nodes 1-5 are equipped with an RGB LED. | ||
| To connect other devices, however, only the green light component is available, exposed as a separate LED. | To connect other devices, however, only the green light component is available, exposed as a separate LED. | ||
| Line 27: | Line 27: | ||
| The function random() generates pseudo-random numbers. The syntax is random(max) or random(min, max), where min represents the lower bound of the random value, inclusive (optional); and max represents the upper bound of the random value, exclusive. The function returns a long random number between min and max-1. | The function random() generates pseudo-random numbers. The syntax is random(max) or random(min, max), where min represents the lower bound of the random value, inclusive (optional); and max represents the upper bound of the random value, exclusive. The function returns a long random number between min and max-1. | ||
| - | === The circuit: | + | == The circuit: == |
| RGB GREEN pin = Arduino pin 3 (~) | RGB GREEN pin = Arduino pin 3 (~) | ||
| Line 120: | Line 120: | ||
| </ | </ | ||
| - | === B3.cpp === | + | === IB3.cpp === |