Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: sebs3 on March 29, 2018, 05:58:37 AM

Title: GUI and microchip extensions
Post by: sebs3 on March 29, 2018, 05:58:37 AM
Hello, I'm a new user if the PiCore and I'm willing to use it with my Raspberry Pi 3. As I've understood, the PiCore Works with extensions so I should download some of these so I can get it working, I have been searching some information but I have had trouble to find what I need.
 I need to read some analogical readings and create a graphical human interface. As for the analogical readings I usually use the bcm2835.h library, so I was wondering if someone knows an extensión which I can use to read the values with a library which is similar to this one. As for the interface, I was wondering if there is any type of extensión you recommend. I usually use Qt Creator and the QMainWindow. I need to program these with a C++ or C language. Thanks in advance, any kind of help would be thanked. Have a nice day.
Title: Re: GUI and microchip extensions
Post by: polikuo on March 29, 2018, 07:43:24 AM
As for the analogical readings I usually use the bcm2835.h library

Welcome, sebs3.

To look for a specific file, one can do
Code: [Select]
provides.sh bcm2835.h
or via the GUI App Browser (apps).

Apps --> Cloud (Remote) --> Browse
Next to the search bar
Search --> Provides
Type "bcm2835.h" and hit Enter.

Unfortunately, there's currently no such file int the repo.
You might need to find the source code and compile one for your self.
Title: Re: GUI and microchip extensions
Post by: sebs3 on March 30, 2018, 08:45:27 AM
Thank you very much for the help.
Title: Re: GUI and microchip extensions
Post by: Rich on March 30, 2018, 09:01:41 AM
Hi sebs3
Quote
... As for the interface, I was wondering if there is any type of extensión you recommend. I usually use Qt Creator and the QMainWindow. I need to program these with a C++ or C language. ...
QT doesn't appear in the Pi repository. I do see GTK1, GTK2, and GTK3 as well as FLTK (Fast Light Tool Kit).
Title: Re: GUI and microchip extensions
Post by: Rich on March 30, 2018, 09:26:16 AM
Hi sebs3
There's also something called  wxWidgets  in the repository.