Comments (3)
Historically, in Lua, this is done using strings and the pack / unpack functions from the string module. In Lua RTOS this is done in the UART and SPI module.
In Lua RTOS user data is used in cases where a setup function creates an instance, for example in the sensor module,
Another approach is the used in the Lora WAN module, where payload (binary data) interchange is done using hex-strings, for example: 01AB02 is 0x01ab02.
For coherence I think that the pack / unpack described above is better.
I had a look on your i2s code and it's nice!! Congratulations.
from lua-rtos-esp32.
OK, I'll go with the pack/unpack method. I've got everything written, now I just need to get past this latest endless reboot issue (#52) so I can test it.
from lua-rtos-esp32.
We close this issue. Please reopen it if necessary.
from lua-rtos-esp32.
Related Issues (20)
- How to build Lua RTOS with the screen module HOT 4
- Olimex ESP32 EVB firmware has two devices using the same pins HOT 3
- Is Lua-RTOS-ESP32 installed with python2 only? HOT 2
- Undeclared variable makes the OTA update compile fail. HOT 3
- Xtensa syntax error on build HOT 12
- ESP-IDF forces Python 3.10 which Lua RTOS doesn't support HOT 1
- ld returned 1 exit status HOT 1
- Attempting to read from sd card when its ejected doesnt throw exception HOT 3
- Running gdisplay.attach in a file puts garbage on top rows of tft screen HOT 12
- No way to specify where to keep the history file HOT 3
- Docker build crashes instantly HOT 4
- ESP32-C3 Support HOT 3
- TTGO T-watch 2020v3 hardware specific board to use?
- Problems connecting to the Wifi AP from newish devices HOT 7
- Reusing net.en.start() HOT 4
- Project abandoned? HOT 2
- mkromfs segfault HOT 2
- load() gives nil HOT 4
- Expressif idf version HOT 1
- advertising removed
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 lua-rtos-esp32.