| Electronic Components Datasheet Search |
|
DFR0416 Datasheet(PDF) 9 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0416 Datasheet(HTML) 9 Page - DFROBOT |
|
9 / 11 page ![]() USB Serial Port Serial Hardware Serial Port 1 Serial Hardware Serial Port 2 Serial2 Sample Code1: D0&D1 refers to Serial, serial2 refers to Serial2. Users can use USB serial transformer tools to check printing. void setup() { // put your setup code here, to run once: Serial.begin(115200); Serial2.begin(115200); } void loop() { // put your main code here, to run repeatedly: Serial.println("I am Serial"); Serial2.println("I am Serial 2"); delay(1000); } Result1: Use USB serial transforming board to receive data from Serial2 and you can check printing in correspond in PC. Sample Code2: Digital IO int pin; void setup() { // put your setup code here, to run once: for(pin=24;pin<32;pin++){ pinMode(pin,OUTPUT); } } void loop() { // put your main code here, to run repeatedly: for(pin=24;pin<32;pin++){ digitalWrite(pin,HIGH); |
|
|
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 |