张老师,第三个参数apikey没有,可以省略么
张老师请问一下这个如果是发送两组数据到平台,能不能同时发送
T_T为什么我按照源码编译,串口永远只是打印。
这一句话。。。话说我按照例程编译程序,只要用静态IP的都不行,DHCP都OK。
这是为什么= =
我还想问下static byte dnsip[] = {
10,11,5,25 };
这里我能不能写0,0,0,0。
#define OUT
不对吧?
编译// remote website name
char website[] PROGMEM = "www.lewei50.com";
char urlBuf[] PROGMEM = "/api/V1/gateway/UpdateSensors/01"; // 01应该更改为你对应的网关标识
char apiKey[] PROGMEM = "userkey:xxxxxxxxxxxxxxxxxxxxxxxxx"; //需要更改为你的userkey
的时候出错。请问是什么问题。谢谢
sketch_nov17b:27: error: variable 'website' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
sketch_nov17b:28: error: variable 'urlBuf' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
sketch_nov17b:29: error: variable 'apiKey' must be const in order to be put into read-only section by means of '__attribute__((progmem))'