clubncaldes / svlocoio Goto Github PK
View Code? Open in Web Editor NEWArduino configurable 16 I/O Loconet Module (GCA50)
Home Page: http://www.clubncaldes.com
License: GNU General Public License v3.0
Arduino configurable 16 I/O Loconet Module (GCA50)
Home Page: http://www.clubncaldes.com
License: GNU General Public License v3.0
I've configured the GCA50an for 16 inputs, but the input which is connected to sensor address 1 is ignored.
I believe it is because of the following line:
--- SVLocoIO-old.ino 2020-12-29 21:13:46.997911309 +0100
+++ SVLocoIO-new.ino 2020-12-29 21:15:04.710904824 +0100
@@ -207,7 +207,7 @@
// Check inputs to inform
for (n=0; n<16; n++)
{
- if (!bitRead(svtable.svt.pincfg[n].cnfg,7) && myAddr[n]>1) //Setup as an Input greater than 1
+ if (!bitRead(svtable.svt.pincfg[n].cnfg,7) && myAddr[n]>=1) //Setup as an Input greater than 1
{
//Check if state changed
currentState=digitalRead(pinMap[n]);
Can you verify?
Thanks!
Regards, Charles
hello dani
i am facing a other problem. in the SVLocoIO sketch if i select output and address 128 its work. but when i go to address 129 no response. nothing happen. i see that the uno get the message. led is flashing. when change the output to input i have already test until address 496 and i get a response on my ecos. if i test the sketch LNCVSoundOutputV6 i have tested until address 400 and its work.
regards ronald
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.