Blinker与ESP8266示例中webUpdate升级程序问题
在代码中使用了Blinker,想结合ESP8266的webUpdate历程通过无线升级程序。现在遇到以下问题。
我想在循环中通过按键长按的方式打开webUpdate升级功能。发现并不行,在setup函数中,先通过按键判断进入webUpdate升级功能是可以的。
在setup程序中先运行webUpdate程序是正常的,一旦放到loop函数中再运行就不正常。具体表现为,打开升级网址,提示找不到此网址。正常的应该为如下界面
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApgAAACtCAYAAAAUGQ/+AAAStElEQVR4nO3dv28b2YHA8fkbAoH+AxKAKeyCru+ABDhbCED4T7ALFQRcCUlzhsFiCxZCWsM8HFIEYeNGAAE5G/iSQxAFCKQscVKqq9Vxs9l1dXflu8L76MfHITmUhqJIfYoPLFIzwxlZpL9+86s4PDwM//O//wcAALUoBCYAAHUSmAAA1Ko4PDwMo9EIAABq8SkwxxcAAFALgQkAQK0EJgAAtRKYAADUSmACAFArgQkAQK0EJgAAtRKYAADUSmACAFArgQkAQK0EJgAAtRKYAADUqlJg7j3YC0VRzDU8Owmj8UV48+5tKIoivHn3duMbBgDAZlQewXx19HoqJqPnL1/MPAcAwP1148AEAIDUjQLz+csXG98AAADulmsH5vDsJDx59nThNM9fvgh7D/bCk2dPQ1EUk+mLogivjl5Pni+KYjJ9fPzq6HUYjS+mpnl19HryGkVRhIePH0297t6DvTAaX4SHjx9NHSOaHhNaFMXU68R1TY8zTcM5LltMAwBUs3JgptLATL8/PDspjcXR+GJq/vh8HnZPnj2dxGJcdvp4eHYyE45xXeJ6xOcfPn40CdH4OumyRuNPcZmGc77OAABUdysjmDMvmgXcw8ePppaVz5cHZXwc5xmenZQGYRyVjIFZ9trxzPdF8QwAQHW1HoO5rsDMp3n+8sXUSGV+JnsMyxjBiwLz1dHrqe8DAHAztZ5Fvs7ATIMyP5YzDd08KJcFZhzB3PRfBADArtiawIzzPXn2dLL8eKxmHpjpvHsP9hYGZtk0cTmb/ssBANhG17qTT1l85ScB/dO//PPU49H487GT6Uk96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AADUSmACAFArgQkAQK0EJgAAtRKYAADUSmACAFArgQkAQK0EJgAAtRKYAADUSmACAFArgQkAQK3+Hw2gyuHgLJ2DAAAAAElFTkSuQmCC
我感觉区别就是中间运行了blinker程序。是binker中使用的程序和webUpdate程序有冲突吗?怎么修改才能解决这个问题。
页:
[1]