I'm trying to finish my self-water plant system. 
https://www.hackster.io/demirhanaydin/waterpi-houseplant-remote-watering-and-monitoring-system-340400?ref=platform&ref_id=424_respected___&offset=33.
 
I'm on the final stages but I'm unable to get my LCD screen to display my 
temperature and sensor values. I'm running sudo node index.js and this is 
what happens. 

The raspberry pi connects and the Arduino is registered. The temperature 
and humidity are also registered. Then i get 


fs.js:663

return binding.writeBuffer(fd, buffer, offset, length, position);


Error: Unknown system error -121: Unkown system error -121, write 

      Then i have about 10 errors 

at Error (native)

at Object.fs.writeSync (fs.js:663:20)

at Bus.i2cWriteSync 
(/home/pi/waterpi-node_modules/raspi-io/node_modules/raspi-i2c/node_modules/i2c-bus/i2cbus.js:348:13

at I2c.writeSync (/home/pi/waterpi-node/node_modules/raspi-io/node_modules 
/raspi-i2c/dist/index.js:307:37

at RaspiIOcore.i2cWrite 
(/home/pi/waterpi-node/node_modules/johnny-five/lib/lcd.js:64:11

at LCD.Controllers.PCF8574.initialize.value 
(/home/pi/waterpi-node/node_modules/johnny-five/lib/lcd.js:362:23

at new LCD 
 (/home/pi/waterpi-node/node_modules/johnny-five/lib/lcd.js:783:1-

at Boards .<anonymous> (/home/pi/waterpi-node/index.js:60:9

at emit0ne (events.js:77:13)


I know that my LCD works and is being registered by my raspberry pi because 
I have checked using i2cdetect. I also ran a simple hello world code using 
python.I  tried changing the controller name of the lcd to PCF574A nothing 
changed . If anyone could help it would be appreciated. 

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/5ff86ba3-f3d9-43da-a730-18c9b2a02d6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to