|Subject:||Great work overall!|
|Summary:||Package rating comment|
Filip Komar rated this package as follows:
Filip Komar - 2021-09-15 12:42:07
Great work overall!
Filip Komar - 2021-09-15 12:54:49 - In reply to message 1 from Filip Komar
there is no input example and that might be useful.
Rafael Martin Soto - 2021-09-15 13:01:16 - In reply to message 2 from Filip Komar
Thanks!!!! The example is in readme file:
require_once( 'led.class.php' );
// Create the variable with led class on GPIO 18:
$Led18 = new Led( '18' );
// Power ON GPIO led 18:
// Wait 5 seconds
//Power OFF GPIO led 18:
//Unexport GPIO port 18:
Filip Komar - 2021-09-15 15:35:18 - In reply to message 3 from Rafael Martin Soto
For driving output ;). But not for reading input.
Rafael Martin Soto - 2021-09-15 16:33:39 - In reply to message 4 from Filip Komar
Ok. I'm sorry i did not understand you.
In principle it would not be very difficult looking at the example, but I will look later to prepare something to also read the status of the Led.
Thanks for the observation.