Left for archival purposes.

User avatar
By GeoNomad
#4125 Since we are dealing with embedded programming here, it seems that it will be necessary sooner or later to read and write memory locations directly.

Either that, or the Lua implementation will grow larger and larger as each of our feature requests mine included are added. I could change the pullup configuration by setting the control registers if I had direct access to the control registers from Lua, and a new command would not be needed.

However, to make use of direct access to memory locations, bitwise operation will also be necessary. I see these are in Lua 5.2 but not in 5.1. I wondered where they got to.

Fortunately, there are some libraries we can use.

Great work on Lua so far. It is super useful. Thank you for all of your work and responsiveness.