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
With my program, a total of six sensors are connected with two GPIO pins each (e.g. pin 15 and 16). At the sensor output (and thus at the GPIO input), one pin is high and the other low.
If a sensor is triggered for the first time, events are generated for other pins on which no level change has taken place. I guess for all input pins whose level is high.
Jan 10, 2021 12:18:12 PM uk.pigpioj.PigpioSocket notificationReceived
FINE: changed_level_mask: 270011263
Jan 10, 2021 12:18:12 PM info.moroff.raspi.raincontrol.GPIOService$1 stateChanged
INFORMATION: Thread nioEventLoopGroup-2-2 --> GPIO PIN STATE CHANGE: GPIO 19 (Pin=35) = HIGH;
Jan 10, 2021 12:18:12 PM info.moroff.raspi.raincontrol.GPIOService$1 stateChanged
INFORMATION: Thread nioEventLoopGroup-2-2 --> GPIO PIN STATE CHANGE: GPIO 20 (Pin=38) = HIGH;
Jan 10, 2021 12:18:12 PM info.moroff.raspi.raincontrol.GPIOService$1 stateChanged
INFORMATION: Thread nioEventLoopGroup-2-2 --> GPIO PIN STATE CHANGE: GPIO 6 (Pin=31) = HIGH;
Jan 10, 2021 12:18:12 PM info.moroff.raspi.raincontrol.GPIOService$1 stateChanged
INFORMATION: Thread nioEventLoopGroup-2-2 --> GPIO PIN STATE CHANGE: GPIO 9 (Pin=21) = HIGH;
Jan 10, 2021 12:18:12 PM info.moroff.raspi.raincontrol.GPIOService$1 stateChanged
INFORMATION: Thread nioEventLoopGroup-2-2 --> GPIO PIN STATE CHANGE: GPIO 11 (Pin=23) = HIGH;
Jan 10, 2021 12:18:12 PM uk.pigpioj.PigpioSocket notificationReceived
With the next signal change everything works fine.
I guess the problem might be in the class PgioSocket#notificationReceived, the element lastGpioLevelMask is changed only in this method, but does not respect the initial values correctly.
The text was updated successfully, but these errors were encountered:
With my program, a total of six sensors are connected with two GPIO pins each (e.g. pin 15 and 16). At the sensor output (and thus at the GPIO input), one pin is high and the other low.
If a sensor is triggered for the first time, events are generated for other pins on which no level change has taken place. I guess for all input pins whose level is high.
With the next signal change everything works fine.
I guess the problem might be in the class PgioSocket#notificationReceived, the element lastGpioLevelMask is changed only in this method, but does not respect the initial values correctly.
The text was updated successfully, but these errors were encountered: