Before start, there is a basic tutorial for how to use skiiiD
https://www.hackster.io/skiiid/getting-started-with-skiiid-editor-f69b5d
Launch skiiiD and select Arduino UNO#1 Launch skiiiD and select New button
#2 Select ①Arduino Uno and then click ②OK button
Add Joystick Component#1 Click '+' ADD button to search and select component
#2 ① search Joystick on search bar and ②Click Joystick Module,
#3 then you can see ③ pin indication. (You can configure it.)
#4 ④ click ADD button
Four Functions of Joystick#1 Original skiiID library provides 4 functions
1) getHorizontalData - Indicates Horizontal position of Joystick Module as the numeric value (range : 1~10) .
EX) If Joystick is on the far left position, it will be 1 on the serial monitor, vice versa.
2) getVerticalData - Indicates Vertical position of Joystick Module as the numeric value (range : 1~10) .
EX) If Joystick is on the far down position, it will be 1 on the serial monitor, vice versa.
3) getPosition - Indicates position of Joystick Module as the numeric value (see below)
4) isClicked - Indicates states of joystick is clicked or not.
Comments