-
you say I need to write 'LED1.set()\n' - do I need to add true\false ?
no, https://www.espruino.com/Reference#Pin
after I have connected to the device , why can't I see the data I'm sending to him , is there any way to write something to log in order to see where is the problem ?
all I can see is -> Bluetooth
I'm sending sample data once every 10 seconds , and I can't see anything - why?-> Bluetooth
is printed when output console is switched to bluetooth, this indeed happens by default when you connect. When you disconnect you will probably see -> 'name your previous console'. Often this is what you want when you connect to the device via https://www.espruino.com/ide/ or espruino cli command. You can override this behaviour as per https://www.espruino.com/Reference#l_E_setConsole but if you keep console as it was you cannot send commands like theLED1.set()
to console via bluetooth connection.and I can't see anything - why?
output goes to bluetooth console but you probably don't read it at all
do you have an example\guide for it?
I think I linked more than enough guides already and it doesn't look like it helped
I know the problem is on my side ....
so maybe you can guide me to understanding
all I want to do is connect from the PI to the device and turn on\off led1
this is what I'm missing :
1.up until now when I wanted to turn LED1 on I wrote
LED1.write(true)
and now you say I need to write 'LED1.set()\n' - do I need to add true\false ?
all I can see is -> Bluetooth
I'm sending sample data once every 10 seconds , and I can't see anything - why?
I read somewhere I can use Node-RED for creating a project and connecting with the MDB42Q
I mange to create a connection and I'm sending data from it - but again, I don't see anything on the device - the led is not tuen on\off
do you have an example\guide for it?