[Gambas-user] Shared WiringPi library for RasPi

Christer Johansson lists at ...2828...
Tue Feb 19 09:20:01 CET 2013


Thanks for the help Benoît hope to give it a go coming weekend!

> Extern wiringPiIsr(iPin As Integer, iEdgeType As Integer, pFunction As
Pointer) In "lib..."
>
> ...
>
> And then you use the name of a static function as 'pFunction'
> argument when calling wiringPiIsr.
>
> Gambas will automatically create a internal callback that will execute
> the Gambas function through the interpreter as if it would be called
> directly like a C function.

/CJ






More information about the User mailing list