Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token lcdi2c.js:295 in alexfederlin-patch-1 #7

Open
SimonGAndrews opened this issue Apr 28, 2020 · 0 comments
Open

Unexpected token lcdi2c.js:295 in alexfederlin-patch-1 #7

SimonGAndrews opened this issue Apr 28, 2020 · 0 comments

Comments

@SimonGAndrews
Copy link

img1

img2

Hi,
Seems to be a problem here as per above two images. The error occurred running on raspberry pi 3 B+ under nodejs (v12.6.2). Looks like it it s result of the last patch.

Have to say I had allot of probs installing the lcdi2c package , finally using NPM install direct from the GIT repository, Find below the javascript that executed the package and cause the failure.

Regards, Simon

contents of test.js
const LCD = require('lcdi2c');
lcd = new LCD(1,0x27,20,4);
console.log ('hello lcdi2c');
console.log (lcd);

lcd.clear();
lcd.println('hello world',1);
lcd.println('blipper',2);
lcd.println('by SimonGAndrews',3);

SimonGAndrews referenced this issue Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant