|
如题,wifiduino一直连不上blinker,一直无限重启,其他功能没有异常就是连不上blinker
程序如下
int mylist[3][3] = {
{0, 1, 2},
{1, 2, 3},
{2, 3, 4}
};
#define BLINKER_WIFI
#include <Blinker.h>
char auth[] = "*********";
char ssid[] = "1";
char pswd[] = "12345678";
BlinkerSlider slider1("456");
void slider1_callback(int32_t value) {
mylist[1-1][1-1]=value;
}
void setup(){
Blinker.begin(auth,ssid,pswd);
slider1.attach(slider1_callback);
Serial.begin(9600);
}
void loop(){
Blinker.run();
Serial.println(mylist[1-1][1-1]);
}
|
|