You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having issues with reading the correct value on mb.Ists(7, 1);. Reading a zero and not a 1.
/****************************************************/
// Address 1 on the PLC is Address 0 on the ESP8266
for (index1 = 0; index1 < 32; index1++)
{
mb.addIsts(index1);
}
void loop() {
//Call once inside loop() - all magic here
mb.task();
if (millis() > timer0 + 2000) {
timer0 = millis();
mb.Ists(0, 1);
Having issues with reading the correct value on mb.Ists(7, 1);. Reading a zero and not a 1.
/****************************************************/
// Address 1 on the PLC is Address 0 on the ESP8266
for (index1 = 0; index1 < 32; index1++)
{
mb.addIsts(index1);
}
void loop() {
//Call once inside loop() - all magic here
mb.task();
if (millis() > timer0 + 2000) {
timer0 = millis();
mb.Ists(0, 1);
The text was updated successfully, but these errors were encountered: