reset() and dump() #6645
Replies: 1 comment
-
Posted at 2015-11-25 by @gfwilliams
For @Kolban and @tve it's to do with the Posted at 2015-11-25 by @MaBecker those digitalWrites are definitive from old saves, Posted at 2015-11-25 by @gfwilliams Ahh, it's because As I usually say...
I'm moving this thread to the Porting area of the forum for now - it's an ESP8266-specific issue that I'm sure will be fixed soon. Posted at 2015-11-25 by @MaBecker and badly resets during save, have to flash to solve that
Posted at 2015-11-26 by tve I can't retrace which version you're running. The latest build I published shows the following:
and
Posted at 2015-11-26 by tve On the pins stuff, would love some help in defining 'A0' as analog input pin in the board file. I tried and failed. I see that jshReset is indeed not resetting all the pins. D12-D14 is not used by anything, so I'm not sure what is going on there. WRT figuring out what the state of a pin is, well, it's not that easy. Right now the code remembers what it sets a pin to and returns that, Should be ok for 90+% of cases. If someone wants to write the code to derive the state from the hardware register bits: be my guest :-) I do not know what
It might be good to define D6 through D11 as used internally (for the flash chip), but I'm not sure how to accomplish that. Maybe also D1 and D3 for the uart0 and D2 for uart1 (debug output). Posted at 2015-11-26 by @MaBecker was running on
and decided to switch back to
btw: using ESP8266-12E with AI cloud symbol Posted at 2015-11-26 by tve Ah, so maybe my next build will have the same problem... Posted at 2015-11-26 by @MaBecker Yes, flashed this one 1v82 espruino_1v82_esp8266.tgz 26-Nov-2015 15:28 584K
and no more problems with save() ;-) Ups, wifi cannot connect to the AP, do we have to wait for the kolban build ?! Cool, someone decided to ship wifi disabled ?!
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-11-25 by @MaBecker
still have some commands, any idea?
Beta Was this translation helpful? Give feedback.
All reactions