06-24-2024, 03:34 PM
Hello,
I 'm new on this forum and I'm very happy there are a lot of programmers using QB64.
In the past I did a lot of programming with Basic PDS and ASM-routines of AJS (LA) (Multi-user access dbf files).
So I med a lot of manufacturing and color mixing software for paints.
Now retreated, I'm busy to make my own beer-brewing software (I want it good but not to complicated...).
I worked a little time with Freebasic, but it became quiet on their forum, so I switched to QB45
In freebasic I used the well-known WiringPi routines: https://projects.drogon.net/raspberry-pi/wiringpi/
In QB64 I did a lot of test to use c-libs for this purpose, but without 100% succes.
So at a moment I found the raspi-gpio utility (property of the RapsberryPI foundation).
In QB64 I did some test with the QB64 _hideSHELL command, and this works as I want it.
So I'm very glad to post my first test.
It runs on a non RaspberryPI pc, but in that case You see only the ON OFF prints on the screen.
Simple: A led connected to GPIO pin 17 of the RaspberryPI
And... swith ON or OFF with the + or - key.
On a RaspberryPI PC I use always a screw terminal p.e.:
https://www.amazon.com.be/-/nl/GeeekPi-S...uage=en_GB
Rudy M
I 'm new on this forum and I'm very happy there are a lot of programmers using QB64.
In the past I did a lot of programming with Basic PDS and ASM-routines of AJS (LA) (Multi-user access dbf files).
So I med a lot of manufacturing and color mixing software for paints.
Now retreated, I'm busy to make my own beer-brewing software (I want it good but not to complicated...).
I worked a little time with Freebasic, but it became quiet on their forum, so I switched to QB45
In freebasic I used the well-known WiringPi routines: https://projects.drogon.net/raspberry-pi/wiringpi/
In QB64 I did a lot of test to use c-libs for this purpose, but without 100% succes.
So at a moment I found the raspi-gpio utility (property of the RapsberryPI foundation).
In QB64 I did some test with the QB64 _hideSHELL command, and this works as I want it.
So I'm very glad to post my first test.
It runs on a non RaspberryPI pc, but in that case You see only the ON OFF prints on the screen.
Simple: A led connected to GPIO pin 17 of the RaspberryPI
And... swith ON or OFF with the + or - key.
On a RaspberryPI PC I use always a screw terminal p.e.:
https://www.amazon.com.be/-/nl/GeeekPi-S...uage=en_GB
Rudy M