309
edits
Fredblaisb (talk | contribs) No edit summary |
Fredblaisb (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This main part combine the first two Sub-patches. With the camera feed filtered by a pixel difference (like described [ here]), I send to Arduino either the value "1" or "2". The value "2" turns the air pump on as the "1" turns it off, as shown on the Arduino code. | This main part combine the first two Sub-patches. With the camera feed filtered by a pixel difference (like described [https://www.uni-weimar.de/kunst-und-gestaltung/wiki/GMU:Connecting_Max_to_the_World/Frederic_Blais-Belanger/Generate_signal_from_video here]), I send to Arduino either the value "1" or "2". The value "2" turns the air pump on as the "1" turns it off, as shown on the Arduino code. | ||
[[File:TalkingTo-SendValues.png|400px]] [[File:TalkingTo-If_2or1.png|400px]] | [[File:TalkingTo-SendValues.png|400px]] [[File:TalkingTo-If_2or1.png|400px]] |
edits