GMU:Connecting Max to the World/Sirin Unmanee/Homework : 07.11.2018 Arduino: Difference between revisions
From Medien Wiki
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
I attempted to make a dimmable LED control by touch screen interface. However, due to the | I attempted to make a dimmable LED control by touch screen interface. However, due to the limited equipment (I don’t have a touch screen laptop 😢), so I have to demonstrate with the mouse. | ||
Arduino code : [[:File:hg_20181107.ino]] | Arduino code : [[:File:hg_20181107.ino]] |
Revision as of 22:44, 7 November 2018
I attempted to make a dimmable LED control by touch screen interface. However, due to the limited equipment (I don’t have a touch screen laptop 😢), so I have to demonstrate with the mouse.
Arduino code : File:hg_20181107.ino Max patch : File:hg03sirin.maxpat
The layout of the circuit and the connections to the Arduino are very simple, as shown below.
I used “spectroscope~” as a touch screen field to adjust "number" that will send serial data to the Arduino, and, obviously, the diode LED’s brightness is depending on such number. The multislider and audio output are there just for the experiment.
link : https://youtu.be/t0qUxdoR4yY