asterics / WebACS

HTML5/JS version of the AsTeRICS Configuration Suite
Apache License 2.0
3 stars 2 forks source link

Arduino Events not displayed in EventVisualizer. #29

Closed sabicalija closed 6 years ago

sabicalija commented 6 years ago

Tested ArduinoDigitalOutput on my Ubuntu 16.04.3 (virtualbox 5.2.6 r120293, VBoxGuestAdditions_5.2.7-120528).

When connecting event output of Arduino Microcontroller, no events are displayed in the EventVisualizer.

image

The events from ButtonGrid are displayed correctly, and the connected LED on Digital Output 2 is lighting (-> Pin2 is set, and reset correctly).

image

I've tried also to connect only events from Arduino and removed the connection with the ButtonGrid.

But still, the LED is lighting/not lighting as desired, but no output in the EventVisualizer.

image

ChrisVeigl commented 6 years ago

in the current version of the Arduino CIM firmware, pinChange events are only available for input pins (eg. pinMode property set to "input with pullup" for measuring GPIO input voltage levels). When you configure the pin in output mode it is assumed that you control the pin voltage from other sources / events. If firing pinChange events for output pins is desired, this must be implemented in the CIM firmware