It works with iOS.
yes and it works well with android now !
thank you so much !
tomorow I will use 128 pins more
maybe we need 512 ?
It just wonāt work in the other direction. For example, you can assign a Text Input widget to V128, but donāt expect BLYNK_WRITE(128) to be invoked. And donāt specify a Refresh Interval of anything other than PUSH. BLYNK_READ(128) wonāt work either.
How are you using 128 virtual pins? Are you associating groups of pins with devices? Are all of the virtual pins tied to widgets?
All the virtual pins tied to widgets .
I use two devices and bridge widgets.
I wonder if thereās a reason they havenāt extended BLYNK_READ and BLYNK_WRITE? It seems odd that you can assign pins 128 - 255 to widgets in the Blynk app, but BLYNK_READ and BLYNK_WRITE donāt accept pins 128 - 255. Maybe Iām looking at the wrong library. Iām looking at the master branch,
We could always extend BLYNK_READ and BLYNK_WRITE ourselves, but then we need to maintain the local copy.
Yes I dono too.
I have to swap some Vpins below 127 to 128 and above.
So Iāll save vpins for blynk_read
I confirmed that V128 assigned to a Text Input widget is invoked on the device. It invokes GetWriteHandler, however, thereās no BlynkWidgetWrite128 widget write handler. Consequently, GetWriteHandler returns NULL and the thread dies. But the infrastructure is certainly there to support it.
WidgetWriteHandler GetWriteHandler(uint8_t pin)
{
if (pin >= BLYNK_COUNT_OF(BlynkWriteHandlerVector))
return NULL;
#ifdef BLYNK_HAS_PROGMEM
return (WidgetWriteHandler)pgm_read_word(&BlynkWriteHandlerVector[pin]);
#else
return BlynkWriteHandlerVector[pin];
#endif
}
Yeah I think so too.
You use this āFrom App to Deviceā function method for any pin over 127⦠Single function for all, but with switch case logic to distinguish individual pins as needed.
Thatāll certainly work. Is that the plan? They donāt intend to extend the BLYNK_WRITE macro?
And BLYNK_READ_DEFAULT(). Iāll be darn. @Blynk_Coeur, you donāt need to reassign any of your pins.
As referenced in that topic, it would apparently just increase the memory usage of the library for the minority of need⦠so probably not, at least with this current version of Blynk. Who knows what 2.0 will look like.