background image

 
 
 
 

USER MANUAL 

 
 
 
 
 

EN

 

XY joystick module for Arduino® 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WPI315

 

 

 

 

 

 

 

 

whadda.com

 

 

Summary of Contents for WPI315

Page 1: ...USER MANUAL EN XY joystick module for Arduino WPI315 whadda com ...

Page 2: ...sons with reduced physical sensory or mental capabilities or lack of experience and knowledge if they have been given supervision or instruction concerning the use of the device in a safe way and understand the hazards involved Children shall not play with the device Cleaning and user maintenance shall not be made by children without supervision General Guidelines Refer to the Velleman Service and...

Page 3: ...oller on the board To do so you use the Arduino programming language based on Wiring and the Arduino software IDE based on Processing Additional shields modules components are required for reading a twitter message or publishing online Surf to www arduino cc for more information Product Overview This joystick module provides X and Y axis control for your microcontroller projects It also includes a...

Page 4: ...ith a baudrate of 9600 bits s pinMode VRx INPUT Set VRx pin as INPUT pinMode VRy INPUT Set VRy pin as INPUT pinMode SW INPUT_PULLUP Enable internal pullup resistor on switch pin void loop xPosition analogRead VRx Read x position of joystick yPosition analogRead VRy Read y position of joystick SW_state digitalRead SW Read switch state Serial print xPosition Print x position of joystick 0 1023 Seria...

Page 5: ...5 whadda com Modifications and typographical errors reserved Velleman Group nv WPI315_v01 Velleman Group nv Legen Heirweg 33 9890 Gavere ...

Reviews: