@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?
Allison K
@Allison K
Best posts made by Allison K
Latest posts made by Allison K
-
RE: OMEGA2 LIBUPM 0.7
-
RE: Bluetooth discoverability with iPhone
Blynk might work hypothetically for a wifi solution. (If phone can share data connection with omega when connected to the omega's network).
I'll ask around to see if I can borrow a bluetooth dongle to reproduce the issue you're seeing.
-
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: OMEGA2 LIBUPM 0.7
@Miguel-Wisintainer said in OMEGA2 LIBUPM 0.7:
ADS1115
Onion hasn't written a specific library for this particular part but others have, so you can just change the I2C references to use the omega libraries.
-
RE: Onion Omega2 Project Book - where are the sources
@cas You might want to put in a help desk ticket to get an answer on this.
-
RE: Analog Pin
@Shailesh-verma You can use an analog to digital converter to read analog inputs
-
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
@Miguel-Wisintainer Not in particular. However, to compile on the omega, just follow this guide. If you can show which steps you took to compile, that would be helpful in giving you guidance.
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.
Docs for Omega GPIO : Python
Docs for using Omega GPIOsAnyways, 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 !