Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

DFR0489 Datasheet(PDF) 6 Page - DFROBOT

Part # DFR0489
Description  FireBeetle ESP8266 IOT Microcontroller SKU: DFR0489
PDF  8 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0489 Datasheet(HTML) 6 Page - DFROBOT

  DFR0489 Datasheet HTML 1Page - DFROBOT DFR0489 Datasheet HTML 2Page - DFROBOT DFR0489 Datasheet HTML 3Page - DFROBOT DFR0489 Datasheet HTML 4Page - DFROBOT DFR0489 Datasheet HTML 5Page - DFROBOT DFR0489 Datasheet HTML 6Page - DFROBOT DFR0489 Datasheet HTML 7Page - DFROBOT DFR0489 Datasheet HTML 8Page - DFROBOT  
Zoom Inzoom in Zoom Outzoom out
 6 / 8 page
background image
Sample Code ‐ Blink
The default LED for FireBeetle Board-ESP8266 is D5 (IO2), input following code:
// GPIO 2 (D5) has a LED_BLINK attached to it. Give it a name:
int LED_BLINK = 2;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BLINK, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BLINK, HIGH);
// turn the LED on (HIGH is the voltage le
vel)
delay(1000);
// wait for a second
digitalWrite(LED_BLINK, LOW);
// turn the LED off by making the voltage
LOW
delay(1000);
// wait for a second
}
Note: ESP8266 has different pinmap in different development environment, For example: the LED
connects IO2, which maps D5 in Arduino IDE It is totally different mean with 2 and D2 !
Sample Code ‐ Scan WiFi
After you have installed the FireBeetle ESP8266 development environment, it will comes with a lot of
sample code in Arduino IDE, you can find them in File > Examples. The follow sample code scans
the around WiFi:
/*
*
This sketch demonstrates how to scan WiFi networks.
*
The API is almost the same as with the WiFi Shield library,
*
the most obvious difference being the different file you need to include:
*/
#include "ESP8266WiFi.h"



Html Pages

1 2 3 4 5 6 7 8


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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