Giter Site home page Giter Site logo

Comments (5)

charliefoxtwo avatar charliefoxtwo commented on August 16, 2024

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.

Jocman avatar Jocman commented on August 16, 2024

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.

charliefoxtwo avatar charliefoxtwo commented on August 16, 2024

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.

charliefoxtwo avatar charliefoxtwo commented on August 16, 2024

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.

charliefoxtwo avatar charliefoxtwo commented on August 16, 2024

Closing this due to inactivity. Feel free to reopen if this is still an issue.

from bort.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.