|
Post by raspipeter on Apr 24, 2014 12:37:14 GMT -8
Hi grandad,
I apologize for the delay in responding. Factually I faced the same problem as you did. The "toggle function" did not work. I found out that the cause of this problem is that you need to use only lower case text in the code. Factually you used "LED on" and "LED off" and that does not work. If you are using "led on" and "led off" than it works fine. Please try it out and let me know if that resolves the issue.
Regards, Peter
|
|
grandad
New Member
No Quite So Confused.
Posts: 30
Raspberry Pi: Yes
Other Device: 2nd Pi, PCs, iPad, Android Tablet and many, many gadgets!
|
Post by grandad on Apr 25, 2014 11:04:23 GMT -8
Peter, Absolutely no apology needed. I haven't visited RasPiConnect for a while.
You are absolutely correct in what you say; lower case text for the objectname/lowername causes the FB button to work correctly - YaY! I don't recall seeing that documented anywhere, but I may have missed it.
Many, many thanks Peter
Martin
|
|