Comments (5)
As you've noticed, if you're having issues with the constants, you can switch to using the raw ids. Those typically don't change, but in rare cases they may.
Have you tried using this Addresses.h file? https://github.com/DCS-Skunkworks/dcs-bios/blob/master/Scripts/DCS-BIOS/doc/Addresses.h
from bort.
I didn't.
But having a look to the library, I see that all the LED variables with _AM suffix have a different address (this time not like 0x1 but 0x0001).
I'm at work right now and have no possibility to check it, but at first glance they seem correspond to the raw code.
BTW, I should review all the arduino files 'cause, as I told, I "arbitrarily" deleted the suffix in every function.
So the choice will be to rewrite the suffix on each snippet or switch back to the raw one..... Honestly, I'd prefer to keep the constants, as you say "tipically don't change"....
from bort.
Numerically there is no difference between 0x1
and 0x0001
.
The version of the Addresses.h file in the arduino library is very outdated and needs to be updated. The version I linked to is the most up-to-date version, and matches the snippets generated by bort.
from bort.
Looks like this user experienced a similar issue and was able to resolve it by using the latest Addresses.h file DCS-Skunkworks/dcs-bios#529
Please let me know if this solution works for you.
from bort.
Closing this due to inactivity. Feel free to reopen if this is still an issue.
from bort.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bort.