Before start, below URL link is a basic tutorial for how to use skiiiD
https://www.hackster.io/skiiid/getting-started-with-skiiid-editor-f69b5d
Video InstructionStep 1. Launch skiiiD and select Arduino UNO#1 Launch skiiiD and select New button
#2 Select ①Arduino Uno and then click ②OK button
*This is Tutorial, and we use Arduino UNO. Other boards(Mega, Nano) have the same process.
Step 2. Add Component#1 Click '+' (Add Component Button) to search and select the component.
#2 ① Type 'Collision' on the search bar or find the Search Collision Switch XD206on the list.
#3②Select Collision Switch XD206.
#4 then you can see ③ pin indication. (You can configure it.)
*This module has 3 pins to connect
skiiiD Editor automatically indicate pin setting *configuration available
[Default Pin Indication for CollisionSwitch XD206Module] in case of Arduino UNO
OUT: 2
GND: GND
VCC: 5V
#5 After configuring pins ④ click ADD button on the right below side
#6⑤Added Modulehas appeared on the right panel
skiiiD Code of Collision Switch XD206skiiiD Code is intuitive function-based codes. This is based on skiiiD libraries
void CollisionSwitchXD2060Interrupt0() {
if(digitalRead(2) == HIGH) {
// When triggerd
} else {
// When released
}
Contact and FeedbackWe are working on components and boards libraries. Feel free to use it and feedback us, please. Below is contact methods
email: contact@skiiid.io
twitter: https://twitter.com/skiiiD_official
Youtube:https://www.youtube.com/channel/UCfS2RQL3m3hVoHkFo4R0AnQ
skiiiD user forum:https://www.facebook.com/groups/skiiiD/
Comments are fine too!
Comments
Please log in or sign up to comment.