| Electronic Components Datasheet Search |
|
DFR0017 Datasheet(PDF) 3 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0017 Datasheet(HTML) 3 Page - DFROBOT |
|
3 / 3 page ![]() Sample Code //Arduino Sample Code //www.DFRobot.com //Last modified on 14th March 2012 by HJS //This code has been updated to work with the sample code provided in the Wik i int Relay = 3; void setup() { pinMode(13, OUTPUT); //Set Pin13 as output digitalWrite(13, HIGH); //Set Pin13 High pinMode(Relay, OUTPUT); //Set Pin3 as output } void loop() { digitalWrite(Relay, HIGH); //Turn off relay delay(2000); digitalWrite(Relay, LOW); //Turn on relay delay(2000); } Result Every two seconds, LED will be turned on and off. Powered By DFRobot © 2008-2017 |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |