|
|
Line 104: |
Line 104: |
| File:lightsensor.jpg | | File:lightsensor.jpg |
| </gallery> | | </gallery> |
|
| |
|
| |
| Problems / Questions:
| |
|
| |
| When i try to connect the scale to the slider the led pin and the built in led starts blinking fast and i can't control the led pin with the light sensor
| |
|
| |
| I guess something is either not connected or converted in Max correctly
| |
| Maybe outputting directly from arduino serial monitor (you find it under tools in arduino software)
| |
| could give a hint. Or perhaps Max console/message could give an idea
| |
|
| |
| What is the meaning of the select numbers "13, 10, 50, 51"?
| |
|
| |
| "13" stands for the beginning of the line and "10" stands for the new line.
| |
| Usually, they are both used at the same time to define the beginning and the new line: more here
| |
| https://www.arduino.cc/reference/tr/language/functions/communication/serial/println/
| |
|
| |
| And the three numbers in between (50, 51 and should be one more)
| |
| stand for ascii code to define a real integer number
| |