You did not write a thing that could be understood by anyone.
Posts made by Patryk Wychowaniec
RE: Best 24+ hour battery solution
Omega is not really a solution if you plan using it with other power source than USB adapter.
I would recommend going for the AVRs and if you need for example Wi-Fi, you might consider connecting AVR to ESP8266 and so on.
Properly prepared AVR-ESP stack can be ran on standard batteries for many weeks, even months (of course it strictly depends on your project).
RE: we know here have a project, it use a lot of Individually Addressable LED SK6812, But maybe have some data I can understand.
I've never used it, but - from what I can see - there are datasheets available on the web, so what's the point?
RE: error with phpmyadmin
It seems that phpMyAdmin cannot connect to your database (that's why mysqli_real_escape_string is given a boolean argument) - did you check your connection credentials?
Edit: I overlooked your second post. When the error is raised and how do you know the authentication does not fail?
RE: Omega2+ feels very hot while using.
The same as @Andrea-Cesari: mine gets pretty warm within first minutes of launching and keeps the same temperature independently of the CPU activity - but I can easily hold my finger on it, it does not get jalapeno-hot.
(I'm powering it from a USB notebook port, FWIW)
RE: Omega 2 C++ GPIO management library
@luz: Thanks for the p44utils link, looks interesting :) I'll take a more thorough look as soon as I return from work.
The aspect of speed difference between direct memory accessing and using the
/sys/class/gpiois also intriguing (it'd seem like
/dev/memshould be faster but who knows).
I must say that I completely forgot about the
/dev/memalternative when writing my library and now I can't wait untill I get to my Omega back so that I can do some benchmarks ;-)
Omega 2 C++ GPIO management library
Hey, fellow Omega programmers :panda_face:
I've been working on a PCD8544 driver last few days and thus I had to control GPIO pins from inside my C++ application - I didn't found any generic library for Omega 2 and so I've decided to roll my own one:
I've taken the mechanics from the
fast-gpiotool and refactored it so it was down to two files and
Arduino-like nomeclature (it has
I hope it gets useful for someone ;-)
I've included one simple example there and maybe tomorrow (depending on my free time) I'll post my PCD8544 driver - it will most likely be more useful than just this GPIO toggling tool, but it's always something to start with.