-
My LCD is not working i.e. there is nothing on the display. All I can do is toggle the back-light.
It's the blue one with "Nokia 5110" above the screen. I've tried all the examples from the tutorials page, SPI baud rate 1000000, also tried with different pins, changed the breadboard and cables and nothing helps.
Any ideas please?
-
Your method above won't support arguments to the constructor - my code supports zero, 1 and 7 arguments.
@mgg1010 sorry if I'm missing the point, but you can pass as many arguments as you want
exports.constructor = function(foo, bar, baz) { return new Date(foo, bar, baz); }
-
@DrAzzy the thing is that soldering, rewiring etc is a bit scary for me at this moment :)
-
-
I believe it's this one https://github.com/espruino/Espruino/issues/63
Just an idea I didn't test, but how about
if (Object.keys(test).indexOf("bar") !== -1) {...}
Would that make sense?
-
-
-
-
-
-
-
-
I just got my Espruino board rev 1.3b and I'm not able to connect with it on a Linux system. Here is what I'm doing.
When I connect it to my computer then all LED's are off. If I hold RST button then blue and red glow dimly. When I do the BTN1 + RST thing then the same lights flash for a second and blue light starts pulsing.
At this point /dev/ttyACM3 shows up in the system so I start the WebIDE and try to flash it with this url: http://www.espruino.com/binaries/espruino_1v60_espruino_1r3.bin
It asks for a serial port and says "Connection Failed" for ttyACM3.Then I try with the python script (firmware version 1v60/1r3) and it looks like it's uploading. After it's done I hit the RST button and again, all dark, and no devices added in /dev/.
That is what I can see on the logs console just after connecting Espruino:Apr 9 16:41:42 laptop kernel: [32437.956178] usb 1-1: new full-speed USB device number 3 using uhci_hcd Apr 9 16:41:42 laptop kernel: [32438.129187] usb 1-1: New USB device found, idVendor=0483, idProduct=5740 Apr 9 16:41:42 laptop kernel: [32438.129195] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Apr 9 16:41:42 laptop kernel: [32438.129201] usb 1-1: Product: STM32 Virtual COM Port Apr 9 16:41:42 laptop kernel: [32438.129206] usb 1-1: Manufacturer: STMicroelectronics Apr 9 16:41:42 laptop kernel: [32438.129211] usb 1-1: SerialNumber: 48E0864B3330 Apr 9 16:41:42 laptop kernel: [32438.132326] cdc_acm 1-1:1.0: ttyACM3: USB ACM device Apr 9 16:41:42 laptop mtp-probe: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1" Apr 9 16:41:42 laptop mtp-probe: bus: 1, device: 3 was not an MTP device Apr 9 16:41:45 laptop ModemManager[2522]: <info> Creating modem with plugin 'Generic' and '1' ports Apr 9 16:41:45 laptop ModemManager[2522]: <info> Modem for device at '/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1' successfully created Apr 9 16:41:45 laptop ModemManager[2522]: <warn> Modem couldn't be initialized: couldn't load current capabilities: Failed to determine modem capabilities. Apr 9 16:41:45 laptop NetworkManager[2416]: <warn> (ttyACM3): failed to look up interface index Apr 9 16:41:45 laptop NetworkManager[2416]: <info> (ttyACM3): new Broadband device (driver: 'cdc_acm' ifindex: 0) Apr 9 16:41:45 laptop NetworkManager[2416]: <info> (ttyACM3): exported as /org/freedesktop/NetworkManager/Devices/15 Apr 9 16:41:45 laptop NetworkManager[2416]: <info> (ttyACM3): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2] Apr 9 16:41:45 laptop NetworkManager[2416]: <info> (ttyACM3): deactivating device (reason 'managed') [2] Apr 9 16:41:45 laptop NetworkManager[2416]: <info> (ttyACM3): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
When I try with the 1v61/r3 from last night then it's a bit different. After resetting the board I have red and blue glowing dimly but again no extra devices is /dev/ and completely nothing on the logs console.
Any ideas please?
-
I'm not Gordon and I'm not related to Espruino, but I'm using one of these boards (HY-Mini) so let me share my experience too.
For me it means that although they should work just fine, it's not guaranteed and you should not expect them to work i.e. demand a fix if something goes wrong.
From what I can see on GitHub, Gordon is really busy working on Espruino (the software) and there is still so many things to be done that bugs related purely to unofficial boards are of low priority.
And that is the situation we have at the moment with HY-Mini boards. They used to work fine, but then something got broken and current version of Espruino firmware doesn't work. He tried to fix it but it was taking too much time so he is not working on it any more, focusing on the official stuff in the first place (which totally makes sense).
So my advice - if you don't like unpleasant surprises go and get the official board, then in case of any problems you can bet on him.
-
-
-
-
-
-
-
-
-
Thanks DrAzzy.
Then I guess I was looking in the wrong places. Probably I should have started by saying that I already got them when I was experimenting with Arduino, and now I just want to re-use these things with Espruino. I'm always getting them on ebay and they come from Asia.
So I have this PIR motion sensor, relay module, IR obstacle detector and in auction description they said it is 5V so I'm a bit scared to plug them in and experiment :)
@mgg1010 cool, I'm looking forward to using your module.