ludiazv / node-nrf24

nRF24 (nrf24l01/nrfl24l01+) radios in the nodejs way
MIT License
39 stars 15 forks source link

test_simple.js Syntax error #19

Closed leyaX closed 4 years ago

leyaX commented 4 years ago

tested on raspberry pi 3 B + "raspian buster"

The two RF24 modules connect well together, but I get this error when the server receives

`/home/pi/NODE/node_modules/nrf24/test/test_simple.js:36 rfo.write(d); // Pong back ^

SyntaxError: Unknown error at /home/pi/NODE/node_modules/nrf24/test/test_simple.js:36:7 `

ludiazv commented 4 years ago

This test is not updated for the last versions of the library. If you want a simple go to examples -> gettingstarted