Closed mirh closed 1 year ago
There was an error in the relay code. It is fixed now.
The relays seems indeed to behave differently.. But I couldn't really test much with the latest git because Release RateController.exe
(even without any arduino or AOG connected/opened) has glitchy buttons and an error similar to https://github.com/SK21/AOG_RC/issues/20#issuecomment-1430127524
Can you give me an example of the glitchy buttons.
Their images are missing. You can still use some of the settings, but opening products will crash the application. Again, this should be easily reproducible if you just compile release (I was targetting VS 2022 and .NET 4.8 but I don't think it matters).
I am using vs 2022 and .net 4.7.2. Again I can't reproduce your results. No images missing, no crashes.
Well.. I'm not able to reproduce it either. I guess it's still a bit funny that I can compile it even though I did uninstall 4.7.2 (and I didn't retarget anything) but whatever. EDIT: maybe it was the upgrade to 17.5¿
So, long story short (hoping this is not related to #15?) I have this Nano with relays connected to the analog pins. Since PCBSetup expects the digital pins codes, I set Relay1 to Relay5 the numbers from 14 to 18.
... This doesn't seem to do anything no matter what I did in RC. After desperately adding 16 sections to my virtual sprayer in AOG, I figured that the physical relays finally came to life when I went to control section 9 to 13 (which under the default RC settings are assigned to Relay9 to Relay13). And for the life of me I cannot understand what's happening (putting aside that for the moment I'm not even caring for the flowmeter).
Could it be that last year you dropped the vanilla Nano pins assignment table?