My main issue is figuring out how to use the potentiometer as a mouse only within the sketch window. Because I did it and my mouse began to malfunction.
What I came up with.....
Combining Code for Mini and Final
Communication between Arduino and Processing
Using the potentiometer to control an image
My Combination of code
Sources:
https://forum.processing.org/one/topic/controlling-mouse-cursor-using-potentiometers.html
http://codasign.com/tutorials/etch-a-sketch-project/etch-a-sketch-putting-it-all-together/
https://chalmersphyscomp10.files.wordpress.com/2010/08/sketch_final.png
http://arduinobasics.blogspot.com/2013/12/pir-sensor-part-2.html
https://forum.processing.org/two/discussion/8343/sharp-ir-sensor-in-arduino-processing
http://communityofrobots.com/tutorial/kawal/how-use-sharp-ir-sensor-arduino#?1#?1#WebrootPlugIn#?1#?1#PhreshPhish#?1#?1#agtpwd
http://garagelab.com/profiles/blogs/tutorial-how-to-use-the-pir-passive-infrared-sensor-with-arduino
http://www.intorobotics.com/use-infraredir-sensors-tutorials/
http://www.robotshop.com/blog/en/arduino-5-minute-tutorials-lesson-4-ir-distance-sensor-push-button-2-3637
This is exciting. Just out of curiosity, what is supposed to show up on the screen? Color? Are you glitching an image? That is important.
ReplyDelete