Closed ngfelixl closed 6 years ago
Also the GettingStartet.js works only if I use config(config)
without print_details. And breaks at line 41 (sender) or 27 (receiver) at
radio.addReadPipe(Pipes[0]);
The related error is
readline.js:1021 < throw err;
SyntaxError: Unknown error
at snd (/home/pi/GettingsStarted.js:41:9) # sender @41:9, receiver@27:19
at rl.question (/home/pi/GettingsStarted.js:83:31)
I think your are using the previous version that is on npm repository. Use master branch to use this API call.
Regards,
I think your are using the previous version that is on npm repository. Use master branch to use this API call.
Regards,
You are totally right, it was the npm version. Latest master works fantastically. Thank you so much, for your help and for this lib!
Hey, this seems to be a great library, thanks! While the lib successfully and correctly prints true for
.begin()
,.present()
and.isP()
, callingconfig
with the print_details flag enabled like followsThe code in a try catch environment prints the following error with the line number pointing to the config function
Also the JS code stops without terminating or printing any errors after using
useWritePipe(pipe)
andaddReadPipe(pipe)
.Running a simple c++ test program using rf24 class works. Platform is Raspberry Pi Zero W. Connection as you suggest
Any suggestions?