You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm running this code on Raspberry pi 4 with 32 bit CPU I'm getting this error:
Warning: pack(): 64-bit format codes are not available for 32-bit versions of PHP in Samaphp\LifxLan\DataWrapper->wrap() (line 104 of vendor/samaphp/lifxlan/src/DataWrapper.php).
Samaphp\LifxLan\DataWrapper->wrap('Pvv', 0, 102, 0) (Line: 96)
Samaphp\LifxLan\DataWrapper->protocolHeaderData() (Line: 82)
Samaphp\LifxLan\Message\Light->setColor(65535, 0, 65535, 3200) (Line: 70)
Samaphp\LifxLan\Message\Light->setColorByName('white_warm', 100) (Line: 42)
My test code is:
$light_ip = '192.168.1.169';
$Light = new Light($light_ip);
$Light->setColorByName('white_warm', 100);
The text was updated successfully, but these errors were encountered:
I just pushed a new update and released it under v0.1.2.
I believe this update is fixing this issue, I will keep documenting any PHP 32-bit issues in this issue and will re-open this issue if there will be any issue related to PHP 32-bit.
When I'm running this code on Raspberry pi 4 with 32 bit CPU I'm getting this error:
My test code is:
The text was updated successfully, but these errors were encountered: