var lcd = require("HD44780").connect(A1,A2,A3,A4,A5,A6);
It works well on My vldiscovery board, I can give out text and variables to LCD.
If use also
var sensor = require("DS18B20").connect(B1);
it gives me a lot of errors like
ERROR: Function not found! Skipping. at line 1 col 30
var lcd = require("HD44780").connect(A1,A2,A3,A4,A5,A6);
^
=undefined
ERROR: Using '.' operator on non-object at line 1 col 8
lcd.clear();
^
=undefined
ERROR: Using '.' operator on non-object at line 1 col 8
lcd.setCursor(0,0);
^
=undefined
ERROR: Using '.' operator on non-object at line 1 col 8
lcd.print("Current data:");
^
=undefined
ERROR: Using '.' operator on non-object at line 1 col 8
lcd.setCursor(4,1);
^
=undefined
ERROR: Using '.' operator on non-object at line 1 col 8
lcd.print("B1 = ");
Is It the restriction of non-multitask, or someth. else? Thanks.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi, Gordon!
If I use
It works well on My vldiscovery board, I can give out text and variables to LCD.
If use also
it gives me a lot of errors like
Is It the restriction of non-multitask, or someth. else? Thanks.