Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Main category
Main forum
Open PLC and Industrial Automation card
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="alexburcea" data-source="post: 82" data-attributes="member: 3"><p>Hi,</p><p>This happens because from time to time the I2C transaction is wrong and my code does not update the leds if the new state is not different rom the old one.</p><p>Please comment out the lines 970 to 973 in OpenPLC_v3/webserver/core/hardware_layers/sequent.cpp.</p><p>You can also go with 50mS gap. Actually you can try with anything greater than 20mS.</p></blockquote><p></p>
[QUOTE="alexburcea, post: 82, member: 3"] Hi, This happens because from time to time the I2C transaction is wrong and my code does not update the leds if the new state is not different rom the old one. Please comment out the lines 970 to 973 in OpenPLC_v3/webserver/core/hardware_layers/sequent.cpp. You can also go with 50mS gap. Actually you can try with anything greater than 20mS. [/QUOTE]
Verification
Post reply
Home
Forums
Main category
Main forum
Open PLC and Industrial Automation card
Top