I’m using a nodemcu12 (not 12e) and I flashed it with micropython. I’m able to hop on webrepl and start using micropython. However, once I upload a blynk sketch to the nodemcu, I am no longer able to reach it via webrepl. Any suggestions?
Thanks!
I’m using a nodemcu12 (not 12e) and I flashed it with micropython. I’m able to hop on webrepl and start using micropython. However, once I upload a blynk sketch to the nodemcu, I am no longer able to reach it via webrepl. Any suggestions?
Thanks!
Don’t know about in an NodeMCU, but Python is in Alpha for other MCU’s like the RPi. I don’t know the difference between it and MicroPython.
MicroPython can be used with the same Python library. I didn’t test it with NodeMCU yet.
Please post your feedback if you try it! I think it should work.
micropython works great on the nodemcu. problem is, once I upload a blynk sketch, i am no longer able to access the micropython interpreter
Please read community forum rules. Which exactly code do you use, wiring, etc. Are we telepathics/magicians?
LOL Mind reader!
micropython is firmware that allows you to execute python commands on boards like the nodemcu. I’m using the latest version (v1.9.3-8-g63826ac5c). Once the firmware is loaded, I use the interpreter to set up the network and webrepl (the ability to access the nocdemcu via wireless interface) on the nodemcu.
My blynk app version is 2.18.0(1)
I have a power supply providing 3.3v@~240mA to the nodemcu.
I also have an led connected between pin 13 and ground with a R330 in line.
I can use Micropython to turn the led on and off. However, once I set up blynk to toggle the led, I can no longer get to my micropython interpreter to do anything. I have to reflash it.
So that’s my question. Is it one or the other? or can they coincide?
I still don’t see your code…
Code from where? Are you asking for the commands in micropython I use to configure?
Blynk is graphical, so there’s no code.
I’m not sure what you’re asking for
…
Did you completely miss all those code like commands and functions in the Documentation, Help Center and Sketch Builder Blynk is a combo of an App, Server and Library… the primary Library being C++ based, but there is also a NodeJS and this Alpha version of Python based Blynk libraries.
I think the code we are looking for here is your Python code… what you posted is C++ and thus not really compatible to your topic’s issue
I followed the instructions in the Docs section:
http://docs.blynk.cc/#getting-started-getting-started-with-the-blynk-app
http://docs.blynk.cc/#hardware-set-ups-esp8266-standalone
Sketch builder?? Didn’t i just show you the sketch? How would it seem to you that I missed that??
I have a simple question: Can I continue to use MicroPython if I want to utilize Blynk? Can they coincide? or is it one or the other?
LOL man.
You flash it with MicroPython, then completely erase it with Your C++ sketch. What are you thinking about?
You were directly pointed to the micropython library…
“You flash it with MicroPython, then completely erase it with Your C++ sketch.”
That tells me everything I need to know.
Thanks!
I suspect not
But seriously… When you do get an actual Python sketch working… feel free to post it here so others can benefit and learn. Thanks.
A short tutorial / demo would be perfect!