Michel,
your projects are awesome!
I am working on interfacing an esp8266 to a PIC to control a nixie clock.
I have it working now and am just fine tuning and adding features.
as an example of the brilliant simplicity of using the esp8266basic...
here is the code I have running on the esp module to get ntp time and provide it to the PIC...
that is it!Code:memclear cls timesetup(-7,0) baudrate 9600 serialtimeout 2000 delay 1000 button "Exit " [Exit] [Main] timer 100 [PicSer] wait ' [PicSer] serialflush input picIN picIN = mid(picIN,1,5) if picIN == "Time?" then gosub [gettime] wait ' [gettime] bla = time() hh = mid(bla,12,2) 'hour mm = mid(bla,15,2) 'min ss = mid(bla,18,2) 'sec ' picOUT = hh & mm picOUT = picOUT & ss serialprint picOUT ' return ' [Exit] end
Now it is no where near as complete and capable as our beloved PICbasicpro but it really dosen't need to be. That is what the PIC is good for.
You can run the complex code with complete reliably and have the esp module do the wifi stuff.
And the real beauty and power of the espBASIC is that there is no complex tool chain to get it up and running. The development environment IDE is all hosted within the module itself. Once you flash the espbasic OS to the module then that is it! All the rest of code development happens in the self-hosted web page from the module.




Bookmarks