@Miguel-Wisintainer That sounds like an issue with the library, not the omega. Why don't you modify an existing standalone library for the device then?
Posts made by Allison K
RE: Onion Omega2 Project Book - where are the sources
Also, the docs are on github, so if you found something you want to correct, you can fork the repo:
RE: Onion Omega2 Project Book - where are the sources posted in Omega Talk
RE: Onion Omega2 doesn't keep new conf after reestart
@Juan-Marcelo-Arteaga Which config? Can you share the path(s)/contents of the file(s) affected?
RE: OMEGA2 LIBUPM 0.7
I took a quick peek at the UPM libraries and apart from swapping out references to GPIO/SPI/I2C to use the onion libraries, you should be able to use them as far as I can tell. Another consideration might be only installing the libraries you need (due to space constraints on omega).
RE: connect Ultrasonic Sensor HC-SR04 using r-pi-usonic package
@Hemakumar-ellini Though I haven't got one of those sensors, there are plenty of implementations online with Arduino so I think it's gonna be a piece of cake for you to port that code to python (or leave it in C, as you like) and make a few changes to use onion's GPIO library. If I were you, I'd write the code to communicate with the sensor in C or Python and send the readings to my NodeJS code.
Anyways, sorry I can't be of more help. Hope this gives you some ideas to start off with!
RE: Trying to cross compile htop
@Paul-Beach I'm not quite sure what you're asking.
If you're asking how to execute those commands in the (running) docker container:
docker exec -it <container_name> sh
... would give you a shell and you can just type in your commands.
Here is the Docker guide - it's pretty useful.
Though that's not really a question about the omega.
If you're saying you've compiled in the docker environment and you're asking "now what??", then :
- you can copy over the compiled files to the omega using scp
- I'd also like to note that you'd have to have created a docker image that is 32 bit for the compiled code to run on an omega
Alternatively, if you have an SD card, you can optionally compile your code right on the omega by installing gcc.
Anyhow, if you could clarify your question, I'd love to be helpful. Cheers !