Warning: Unable to open the device in /var/www/METEO/php_serial.class.php on line 157 Warning: Device must be opened in /var/www/METEO/php_serial.class.php on line 541 Warning: Device must be opened to read it in /var/www/METEO/php_serial.class.php on line 474 --UDOO SYSTEM--METEO DATA DETECTION-- Last Detection 2014-07-15 11:16:08 Humidity Temperature Notice: Undefined offset: 1 in /var/www/METEO/data_php.php on line 55
Re: The problem I found even after inpostato the b. rate 115 So the problem is that the php can not open the serial, can you post the php code ? The issue between serial and php is often the permission of the serial file, you can change it via terminal using: chmod dev/serial_file_name
Re: The problem I found even after inpostato the b. rate 115 just give this command should read the serial? you could be more specific, thanks! I followed the tutorial gently lifted from the meteorological station 1 and 2.
Re: The problem I found even after inpostato the b. rate 115 Hi, I will try to speak more clear. the problem can be that the php don't have the permission to open the serial file, because the permission of the file don't permit the read of the file. I have had the same issue for use the UDOO to control a rgb led by android app. You can change the permission of the serial file with the command chmod by terminal. the Serial file is in the directory /dev, so the command is: chmod 777 /dev/name_serial_file you must have root permissions to use the command. So you have set all the permissions, you can retry to use the php code.