| 
| Subject: | Great work overall! | 
|---|
 | Summary: | Package rating comment | 
|---|
 | Messages: | 5 | 
|---|
 | Author: | Filip Komar | 
|---|
 | Date: | 2021-09-15 12:42:06 | 
|---|
 |  |  |  | 
Filip Komar rated this package as follows:
| Utility: | Good | 
|---|
| Consistency: | Good | 
|---|
| Documentation: | Good | 
|---|
| Examples: | Good | 
|---|
|  | 
  Filip Komar - 2021-09-15 12:42:07Great work overall!
  Filip Komar - 2021-09-15 12:54:49 - In reply to message 1 from Filip KomarA suggestion: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 KomarThanks!!!! The example is in readme file:
 <?php
 require_once( 'led.class.php' );
 
 // Create the variable with led class on GPIO 18:
 $Led18 = new Led( '18' );
 
 // Power ON GPIO led 18:
 $Led18->On();
 
 // Wait 5 seconds
 sleep(5);
 
 //Power OFF GPIO led 18:
 $Led18->Off();
 
 //Unexport GPIO port 18:
 $Led18->unexport();
 ?>
  Filip Komar - 2021-09-15 15:35:18 - In reply to message 3 from Rafael Martin SotoFor driving output ;). But not for reading input.
  Rafael Martin Soto - 2021-09-15 16:33:39 - In reply to message 4 from Filip KomarOk. 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.
 |