[Gambas-user] Raspberry pi question

Christer Johansson lists at ...2828...
Mon Jul 30 11:11:33 CEST 2012



> >> A guy named Gordon have already made a C library named WiringPi but I
> >> have no
> >> clue on how to use it from within Gambas3 or if it's even possible?
> >>
> >>    https://projects.drogon.net/raspberry-pi/wiringpi/
> >>
> 
> This is a more interesting thing. I think by using Extern 
> functions, you can use that library directly without any problem.

Thats what I hoped for, I need to read up on how to use the EXTERN
function and how to declare properly. 

Also found an alternative C library for I/O and SPI made by Mike McCauley.

  http://www.open.com.au/mikem/bcm2835/index.html

Both libraries are probably quite similar but I downloaded and installed both
and will see if I can use them in Gambas3, will keep this list posted...

/CJ






More information about the User mailing list