Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Me No Dev
@me-no-dev
also can try root.printTo((Print&)client)
probonopd
@probonopd
the first crashes at runtime and the second seems to output nothing
hold on, root.prettyPrintTo((Print&)client); is working for me. thanks @me-no-dev
Me No Dev
@me-no-dev
no probs :)
I actually wrote my own methods to traverse the Json
anyhow... bedtime.
Rahul Thakoor
@rahul-thakoor
@TimeTravelingOwls hello thx for the help but I dont think you understood what I am trying to do! I want to connect the blynk app directly to the Esp without connection to router or web! I want to use it for outside projects and basically use blynk as a remote and collect data every now and then.. This is possible using nodemcu firmware and lua scripts. I want to implement it in arduino ide and blynk! Check out this example:
Anwar Hahj Jefferson-George
@anwarhahjjeffersongeorge
Hi. In my sketches I can setDebugOutput to true and use the serial output to see things like the stack when errors occur, but how do I figure out what the hexidecimal stack output actually means in terms of what's wrong with my methods. I can do line-by-line commenting and narrow down problematic code to eliminate errors temporarily, but this takes too long.
Is there a resource I can consult for this, I am a bit lost.
Anwar Hahj Jefferson-George
@anwarhahjjeffersongeorge
i am a so stupid
Ivan Grokhotkov
@igrr
This output is the stack from top (low memory addresses) to bottom (high memory addresses)
from stack, you can find out the call chain (which methods were called) and sometimes call arguments or local variables as well
inspecting the stack usually requires you to have disassembled code at hand. it may be obtained by simply running xtensa-lx106-elf-objdump -S yourSketch.elf
more advanced disassemblers will do better job than objdump at producing readable disassembly. you will
Ivan Grokhotkov
@igrr
you will certainly find lots of tutorials on disassembling on the web
Burk Murray
@TimeTravelingOwls
@rahul2704 The Blynk app requires a Blynk server. The instructable you linked to uses a browser on
a mobile phone to view a server running on the ESP. You can do that today with the WebServer example code, but you'll need to roll your own HTML: https://github.com/esp8266/Arduino/tree/esp8266/hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples
Michael Miller
@Makuna
@igrr I just picked up the latest staging and its version number is lower than the one I had before. This morning it downloaded version 804, but two weeks ago it downloaded 835. Was the version numbering changed? Reverted code/version due to other issues?
probonopd
@probonopd
igrr, would you be willing to consider nightly builds for the really brave? Maybe with a big fat warning?
Anwar Hahj Jefferson-George
@anwarhahjjeffersongeorge
@irgg thanks, i was heretofore unfamiliar with code disassembling, so that helps a lot
Me No Dev
@me-no-dev
@probonopd I could not get your Hue example to work :(
my mac did not see the ESP
probonopd
@probonopd
@me-no-dev i am still working on it; right now my app's client ID is hardcoded
experimenting with different json libraries at the moment but aJson looks promising
give me some time
:)
Rahul Thakoor
@rahul-thakoor
hello there.. I am trying to use arduino IDE to program ESP-12.. First create an access point with webserver using https://github.com/esp8266/Arduino/blob/esp8266/hardware/esp8266com/esp8266/libraries/ESP8266WiFi/examples/WiFiAccessPoint/WiFiAccessPoint.ino
I want to open a custom index.html page which provides a graphics UI for setting GPIO pins high in in order to turn led on/off.. how to proceed? how to get esp to load a custom index page?
Me No Dev
@me-no-dev
check the web server examples
probonopd
@probonopd
@me-no-dev pushed a new version, does it still give the same error? please post the output of the serial console if you can't connect to the emulated bridge
Now I can start setting light colors (although my color algorithm still seems to have a bug)
Me No Dev
@me-no-dev
will give it a go tomorrow
have a party to go to now
Markus
@Links2004
This message was deleted
Michael Miller
@Makuna
Are the examples for the ILI9341 correctly setup for esp8266 use or are they just copies?
Markus
@Links2004
ther is one
Michael Miller
@Makuna
I noticed that DC and CS are set to 9 & 10 which don't sound right for esp8266
Michael Miller
@Makuna
Interesting, that doesn't seem to be the one used in the examples list even when I have the esp8266 board selected.
But it is different and looks correct.
Markus
@Links2004
strange
Michael Miller
@Makuna
Ok, the one installed with latest staging is not correct, it looks like an exact copy of the normal one.
located at %AppData%\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-804-g2d340c7\libraries\Adafruit_ILI9341\examples\graphicstest
Markus
@Links2004
%AppData%\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-804-g2d340c7\libraries\Adafruit_ILI9341\examples\graphicstest_esp8266 ?
you have the wrong dir
Michael Miller
@Makuna
ok, the directory exists, but it is not being exposed in the examples menu. This is due to the folder name not matching the ino file name. THEY MUST MATCH TO BE DISPLAYED!
Why have the original there at all? With the Boardmanager, it should expose libraries examples for each board as selected.
Markus
@Links2004
will correct this. the orginal are there because the library can still be used with an AVR
Links2004/Arduino@9b9f531