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
Hi all,
I tried to modify the setLed example to read the accelerometer info from the bean +, I changed 1 line in the code, from bean.setLed(0, 255, 0, (err)=> { to bean.readAccelerometer((err)=> {, the rest are the same.
I got this error: TypeError: bean.readAccelerometer is not a function
The text was updated successfully, but these errors were encountered:
I read through the log and realized the .js is also trying to connect to my watch, and the error may because my watch doesn't respond to bean.readAccelerometer((err)=> {...
Hi all,
I tried to modify the setLed example to read the accelerometer info from the bean +, I changed 1 line in the code, from
bean.setLed(0, 255, 0, (err)=> {
tobean.readAccelerometer((err)=> {
, the rest are the same.I got this error:
TypeError: bean.readAccelerometer is not a function
The text was updated successfully, but these errors were encountered: