These are chat archives for esp8266/Arduino

6th
Jan 2016
Steve Nelson
@zenmanenergy
Jan 06 2016 01:07
@Links2004 there is an addAP() in the Multi library, is there a way/need to have a removeAP()? https://github.com/esp8266/Arduino/blob/119f2cd88c3959a7741398470ea4d07b7ab51147/libraries/ESP8266WiFi/src/ESP8266WiFiMulti.h#L55
Matt Kocaj
@cottsak
Jan 06 2016 01:25
@Links2004 how can i get the DEBUG_HTTPCLIENT in my Arduino monitor?
Markus
@Links2004
Jan 06 2016 01:27
@cottsak for git / staring version in the menu:
blob
@zenmanenergy no currently there is no remove,
but its possible to implement
example for a std::vector remove:
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp#L95
Matt Kocaj
@cottsak
Jan 06 2016 01:39
@Links2004 thanks
but I can't seem to compile with those settings
Markus
@Links2004
Jan 06 2016 01:41
you need to select HTTPclient :) i copyed from the docs I am writing for it.
the bug you have is fixed in git version.
Matt Kocaj
@cottsak
Jan 06 2016 01:43
thanks. woking now :D
any idea what this might mean?

[HTTP-Client] connect https...
please start sntp first !
ssl->need_bytes=4621 > 3939

[HTTP-Client] failed connect to api.twilio.com:443
[HTTP-Client][returnError] error(-1): connection refused

Markus
@Links2004
Jan 06 2016 01:45

please start sntp first ! only means the NTP client is not configured.

  configTime(3 * 3600, 0, "pool.ntp.org", "time.nist.gov");

but I have never seen ssl->need_bytes may its from the tls / ssl lib

Matt Kocaj
@cottsak
Jan 06 2016 01:46
i never needed to do that on port 443 using WiFiClientSecure
is that something particular to the HTTPClient wrapper?
Markus
@Links2004
Jan 06 2016 01:47
you not need to do but for some cert checks you should have the correct time ;)
the real problem is the ssl->need_bytes
Matt Kocaj
@cottsak
Jan 06 2016 01:48
so it's a time sync invalidating the SSL handshake is it?
Markus
@Links2004
Jan 06 2016 01:48
no
it work whit out correct time.
Matt Kocaj
@cottsak
Jan 06 2016 01:49
oh
well i just added configTime(3 * 3600, 0, "pool.ntp.org", "time.nist.gov"); before my http.begin and now i get this:

[HTTP-Client] connect https...
Wed Jan 06 04:48:27 2016

ssl->need_bytes=4621 > 3939

[HTTP-Client] failed connect to api.twilio.com:443
[HTTP-Client][returnError] error(-1): connection refused
status code: -1
FAILED. error:connection refused

SSL_ERROR_INVALID_PROT_MSG means: "An SSL protocol failure occurred."
can you try a other server?
Stavros Korokithakis
@skorokithakis
Jan 06 2016 01:59
hey guys, has anyone used the GPIO09/10 on the ESP12E?
Matt Kocaj
@cottsak
Jan 06 2016 02:03
@Links2004 yep.. trying github..
seems the sntp thing wasn't needed like you said.
[HTTP-Client][begin] url: https://api.github.com/
[HTTP-Client][begin] host: api.github.com port: 443 url: / https: 1 httpsFingerprint: CF 05 98 89 CA FF 8E D8 5E 5C E0 C2 E4 F7 E6 C3 C7 50 DD 5C
POSTing To=%2B61422601983&From=%2B19162974231&Body=another%20day,%20another%20yo! ...
[HTTP-Client] connect https...
please start sntp first !
[HTTP-Client] connected to api.github.com:443
[HTTP-Client] https certificate matches
[HTTP-Client][handleHeaderResponse] RX: 'HTTP/1.1 404 Not Found'
@Links2004 so I'm at a loss.. this works to github but not twilio. i can't see why it's a fingerprint issue. any ideas?
Chris Elsworth
@celsworth
Jan 06 2016 02:14
@skorokithakis its complicated. you can on some nodemcu modules if you slow down the flash, aiui (from 4 lanes down to 2) - otherwise no
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:16
oh, hum, then i won't need it for my breakout
thanks
Chris Elsworth
@celsworth
Jan 06 2016 02:17
nah. very unlikely you'll need any of the pins along the bottom of the 12E, I think
Martin Ayotte
@martinayotte
Jan 06 2016 02:18
@skorokithakis , pure concidence, I've just posted http://www.esp8266.com/viewtopic.php?f=13&p=38018#p38018
Chris Elsworth
@celsworth
Jan 06 2016 02:18
the problem with trying to use them as well as the flash is you won't know when the hardware CS is being used, I think
Martin Ayotte
@martinayotte
Jan 06 2016 02:20
... and some other posts earlier today, the biggest problem with GPIO9/GPIO10, is that you need to cut wire to Flash and reconnect them to VCC, switching Flash from QIO mode to DIO, and then you can use them as simple GPIOs.
Chris Elsworth
@celsworth
Jan 06 2016 02:20
doesn't seem worth it. add an MCP23S17 :)
Matt Kocaj
@cottsak
Jan 06 2016 02:21
@Links2004 the only differences between the cert for https://api.github.com/ and https://api.twilio.com/ seems to be the key length. Twilio is 4096 and github is 2048
Martin Ayotte
@martinayotte
Jan 06 2016 02:21
:-) ... or MCP23017 on I2C if you can afford lower speed ...
Chris Elsworth
@celsworth
Jan 06 2016 02:21
yeah :)
Matt Kocaj
@cottsak
Jan 06 2016 02:21
could this be related to the ssl->need_bytes=4621 > 3939 error?
Martin Ayotte
@martinayotte
Jan 06 2016 02:22
Many GPIO usage a slow speed, so speed is not an issue, and MCP23x17 is also supporting some kind of IRQ
Chris Elsworth
@celsworth
Jan 06 2016 02:23
yeah two interrupt pins on the one I looked at
though I didn't explore fully how to use them yet
Martin Ayotte
@martinayotte
Jan 06 2016 02:23
@skorokithakis , that is a bit sad that you didn't added one MCP23x17 into your last design ... ;-) ... Time to start another one :-)
Chris Elsworth
@celsworth
Jan 06 2016 02:23
+1 :p and an ADS7481 ;)
er 7841
then you have a very extensible breakout
of course then its going to get a lot bigger ;)
Martin Ayotte
@martinayotte
Jan 06 2016 02:26
Or MCP3421 along MCP4725 ...
Chris Elsworth
@celsworth
Jan 06 2016 02:26
what are they?
celsworth @celsworth googles
Martin Ayotte
@martinayotte
Jan 06 2016 02:26
Bigger because of breakout to breadboard pins, not because of PCB real estate ... ;)
Chris Elsworth
@celsworth
Jan 06 2016 02:27
ooh 18bit
Martin Ayotte
@martinayotte
Jan 06 2016 02:27
Yes ! Sir !
So, tiny, no real estate problems
BTW, for DAC, I've recalled, even better : 4x DAC output MCP4728 in MSOP10 package
Chris Elsworth
@celsworth
Jan 06 2016 02:31
I'm not familiar with DAC yet, what can you do?
is that like pwm to real analog signal?
Martin Ayotte
@martinayotte
Jan 06 2016 02:32
Nope, those doesn't rely on PWM. They are direct precision analog voltage output.
Chris Elsworth
@celsworth
Jan 06 2016 02:33
hm, so you could pass in a value from, lets say.. 0x00 to 0xFF, and then get 0.00V or 3.3V out depending on that?
or anything in between?
do you know an SPI version of this one :)
Martin Ayotte
@martinayotte
Jan 06 2016 02:36
Yes, and their beauty is that they have internal EEPROM that remember the latest written value, that means that even if your system is reset-ed, the previous voltage settings will reappear, even at power recycled without any need from software of the ESP
SPI Version ? MCP4921, 12 bit DAC, but this one doesn't have EEPROM feature ...
Chris Elsworth
@celsworth
Jan 06 2016 02:37
oh :(
Martin Ayotte
@martinayotte
Jan 06 2016 02:38
If the slower speed of I2C over SPI is not an hurdle, I prefer MCP4728
Chris Elsworth
@celsworth
Jan 06 2016 02:41
TLV5618 looks nice.. I like things in DIP then I can prototype with them :)
12-bit, dual-DAC, SPI
2.5us, that seems fast :D
"buffered voltage", is that EEPROM?
time to request samples :)
wow they're expensive
Martin Ayotte
@martinayotte
Jan 06 2016 02:46
Interesting, but : they have DIP8, but in SMT, they placed it on SOIC14, I presume the die was to big to fit in SOIC8
Chris Elsworth
@celsworth
Jan 06 2016 02:46
oh yeah, didn't notice that
Martin Ayotte
@martinayotte
Jan 06 2016 02:47
Speed "settling time" ? most are fast, but the bootleneck is usally I2C or SPI, although the latest is fast.
"buffered voltage" is not EEPROM, it only mean that the output is drivent by an opamp, so even if there is a load, the output voltage should stay at same level
Chris Elsworth
@celsworth
Jan 06 2016 02:48
I see
well, that will be fun to play with anyway :)
Martin Ayotte
@martinayotte
Jan 06 2016 02:49
EEPROM feature need to be explicitly explain like in the MCP4728 specs
Some are more cheap than other, even myself, I'm now looking for the MCP4728, none on eBay, some on AliExpress, but $20 for lot of 10 :-(
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:51
@martinayotte what does the MCP23x17 do?
Martin Ayotte
@martinayotte
Jan 06 2016 02:51
This message was deleted
Chris Elsworth
@celsworth
Jan 06 2016 02:52
gpio expander
Martin Ayotte
@martinayotte
Jan 06 2016 02:52
@skorokithakis , this is an GPIO Expander that I'm using since several years, the MCP23s17 is SPI, and the MCP23017 is I2C. Both available as SOIC28W package
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:53
oh, do you need a software driver for it or something??
Martin Ayotte
@martinayotte
Jan 06 2016 02:53
16 GPIOs, with possibility of IRQ
Chris Elsworth
@celsworth
Jan 06 2016 02:53
I stumbled on them only recently (mind you, I've only been doing electronics and MCUs for 6 months)
@skorokithakis pretty simple serial protocol.
write SPI packets to like any other SPI device, really :D
then read them back for your GPIO status. or as martin says, there's interrupt ability
so yes, I guess you do need a driver of sorts, but it would be trivial to write
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:55
that sounds pretty useful
Martin Ayotte
@martinayotte
Jan 06 2016 02:55
As I said to @celsworth earlier, if speed is not an issue, I prefer I2C version MCP23017, hookup on GPIO2/GPIO0 since those have already pullups, easy I2C, and you get 16 new GPIOs
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:55
10 GPIOs are enough for me at the moment, but that's great to know
fantastic
i've just updated my breakout board too: https://github.com/skorokithakis/tiny-ESP8266-breakout
maybe i'll add one of those to the next iteration
@celsworth rounded corners :P
more web 2.0
Martin Ayotte
@martinayotte
Jan 06 2016 02:56
@skorokithakis , Col !
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:56
@martinayotte which expander do you recommend?
Chris Elsworth
@celsworth
Jan 06 2016 02:56
awesome :)
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:57
MCP23017?
hum, those are pretty pricy, $1 each
Chris Elsworth
@celsworth
Jan 06 2016 02:57
can you get free samples?
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:57
from where?'
Chris Elsworth
@celsworth
Jan 06 2016 02:57
thats how I get a lot of my stuff
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:57
whaaat?
really?
Martin Ayotte
@martinayotte
Jan 06 2016 02:58
The MCP23017, and if you don't need to bring their output on the breadboard, simply put a 2x10 header at 90o at on edge of your PCB
Chris Elsworth
@celsworth
Jan 06 2016 02:58
microchip and ti both have good sample programmes
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:58
@martinayotte oh nice
@celsworth hmm, do you have a url or something?
see icons on far right of that table? under Sample?
those are the ones you can get for free :)
obviously its limited in qty, you can do about 3 orders per month for 2 or 3 chips at once, I think
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:59
jeez, that's fantastic
Chris Elsworth
@celsworth
Jan 06 2016 02:59
if you don't abuse it, they will send you stuff :D
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:59
that's awesome, i'll have a look
Chris Elsworth
@celsworth
Jan 06 2016 02:59
it costs them almost nothing and they're obviously hoping you'll use their stuff when you become a real electronics engineer and order thousands ;)
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:59
yep :P
Martin Ayotte
@martinayotte
Jan 06 2016 02:59
:-)
Stavros Korokithakis
@skorokithakis
Jan 06 2016 02:59
does anyone know the difference between the various types of MCP?
QFN/SOIC/SPDIP/SSOP
Chris Elsworth
@celsworth
Jan 06 2016 03:00
package type
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:00
like form factor?
Chris Elsworth
@celsworth
Jan 06 2016 03:00
SPDIP = through hole.. dual in-line package
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:00
oh
Martin Ayotte
@martinayotte
Jan 06 2016 03:00
You need to look to datasheet of each one
Chris Elsworth
@celsworth
Jan 06 2016 03:00
SOIC = the one you want, I think?
if you're doing SMD
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:00
oh qfn are the ones without the legs
qfn is sexy, but it looks hard to solder
Chris Elsworth
@celsworth
Jan 06 2016 03:00
yeah :/
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:01
yeah soic looks to be the one i want, thanks
Chris Elsworth
@celsworth
Jan 06 2016 03:01
not sure on SSOP.. look in the datasheet ;)
Martin Ayotte
@martinayotte
Jan 06 2016 03:01
QFN is much more difficult to solder, although not as bad as ballgrid
SSOP/SOIC, those are easy
LQFP a bit more difficult
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:02
ballgrid looks impossible to solder :smile:
i'd just duct tape it on
and not move it too much
Martin Ayotte
@martinayotte
Jan 06 2016 03:02
I never try ballgrid, I don't have any thing to reflow
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:04
i can add a second sample to my basket, do you guys have any recommendations?
@celsworth do you know if they send you one unit, or like 5?
Chris Elsworth
@celsworth
Jan 06 2016 03:04
it varies
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:05
nod
Chris Elsworth
@celsworth
Jan 06 2016 03:05
I just ordered that DAC sample from TI and they would only let me add one
but other cheaper things, they have sent 5
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:05
right right
have you gotten anything good from microchip? i figure i should add a second sample
Chris Elsworth
@celsworth
Jan 06 2016 03:06
I got some digital potentiometers a while back which are quite fun
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:06
are those components, or tools?
Chris Elsworth
@celsworth
Jan 06 2016 03:06
MCP42xxx.. MCP42010 is 10k, MCP42050 is 50k, MCP42100 is 100k
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:06
oh
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:07
oh huh, that looks nice
Martin Ayotte
@martinayotte
Jan 06 2016 03:07
some of the datasheets I kept : /home/martin/Documents/MCP1640-20002234C.pdf /home/martin/Documents/MCP23x17.pdf /home/martin/Documents/MCP3903-25048B.pdf /home/martin/Documents/MCP73123-22191E.pdf
/home/martin/Documents/MCP1702-22008E.pdf /home/martin/Documents/MCP23x18.pdf /home/martin/Documents/MCP4725-22039d.pdf /home/martin/Documents/MCP79410-20002266E.pdf
/home/martin/Documents/MCP1825-22056b.pdf /home/martin/Documents/MCP3008.pdf /home/martin/Documents/MCP4726-22272C.pdf /home/martin/Documents/MCP9804-22203C.pdf
/home/martin/Documents/MCP2221-20005292B.pdf /home/martin/Documents/MCP3021-21805B.pdf /home/martin/Documents/MCP4728-22187E.pdf /home/martin/Documents/MCP9804.pdf
/home/martin/Documents/MCP23x08-21919e.pdf /home/martin/Documents/MCP3421-22003b.pdf /home/martin/Documents/MCP4921-21897a-70809.pdf /home/martin/Documents/MCP9808-25095A.pdf
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:07
so it's variable resistance
Chris Elsworth
@celsworth
Jan 06 2016 03:07
yep
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:07
@martinayotte oooh, MCP79410 RTC
Chris Elsworth
@celsworth
Jan 06 2016 03:08
255 different values between 0 and the one you pick, so 10k would have steps of 39ohm or so
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:08
@celsworth that's very interesting, i wonder where i can use it..
Chris Elsworth
@celsworth
Jan 06 2016 03:08
just useful to have in the toolbox, I thought :D
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:09
yep
oh MCP9808, digital temperature sensor
that's the one i want for my sensors pcb
@martinayotte have you used one? is it accurate?
Chris Elsworth
@celsworth
Jan 06 2016 03:11
@martinayotte seems to be a fan of MCP parts? :)
Martin Ayotte
@martinayotte
Jan 06 2016 03:11
No, not MCP9808, yet ! I've used LM75, SA56004, and of course DS18B20
@celsworth , Yes ! no more DIP for me, except for breadboard
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:11
those aren't microchip though, are they?
Martin Ayotte
@martinayotte
Jan 06 2016 03:12
No, LM75 has many sources, SA56004 is NXP, DS18B20 is Dallas, of couse.
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:12
unfortunately the MCP9808 will take two months to ship :/
ah
maybe i should try the MCP9805
Martin Ayotte
@martinayotte
Jan 06 2016 03:13
There still eBay, but those MCP9808 are not cheap. better go for DS18B20
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:14
@martinayotte they're samples
Martin Ayotte
@martinayotte
Jan 06 2016 03:14
Of course, it is also depends : do you wish to measure local or remote temperature.
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:14
oh huh, $4 per
what do you mean remote?
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:15
oh right right
i have one of those, but i want to measure locally
just ambient temperature
Martin Ayotte
@martinayotte
Jan 06 2016 03:15
locally, LM75 is the cheapest
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:16
oh that's very cheap, thank you
Martin Ayotte
@martinayotte
Jan 06 2016 03:18
Of course, since locally, you software will need some calibrate if you PCB is producing to much heat, maybe subtract 0.5o or 1.0o .
So, Some Kicad session in new few hours ? :-)
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:20
haha, i already made that
i just need to change the temperature sensor with the one you suggested
the more SMD components i can use, the better
i love kicad, have i mentioned?
Martin Ayotte
@martinayotte
Jan 06 2016 03:21
:-)
About MCP23017, did you undertood what I've said about bringing 2x10 header up side instead of breadboard to reduce space ?
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:27
i thought i did, but now i'm thinking i didn't :P
you mean add a header on the top of the pcb and connect it there, no?
Martin Ayotte
@martinayotte
Jan 06 2016 03:33
Yes, this will still provide small breadboard footprint, but get 16 GPIO access thru flatcable
Chris Elsworth
@celsworth
Jan 06 2016 03:34
what connectors are you using for this?
is there some easy way to get a 0.1" pin header into flatcable then into a breadboard?
like the old IDE HD ribbon cable or something
Martin Ayotte
@martinayotte
Jan 06 2016 03:35
Chris Elsworth
@celsworth
Jan 06 2016 03:35
yeah, I have those.. but then what about going onto that into a ribbon cable?
the dupont plugs?
Martin Ayotte
@martinayotte
Jan 06 2016 03:35
yes
And it can be bring to daughter board too using female header : http://www.ebay.ca/itm/10pcs-2x40-Pin-2-54mm-Double-Row-Female-Pin-Header-/201452850140
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:39
alright, i see we've started with the ebay links again, which means it's time for me to go before i buy up all of ebay again :P
Chris Elsworth
@celsworth
Jan 06 2016 03:39
hehe
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:40
are these ones good?
they seem breakable
Chris Elsworth
@celsworth
Jan 06 2016 03:40
they look quite fancy
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:40
i think they're meant so you can break them, rather than have to saw or cut them
Chris Elsworth
@celsworth
Jan 06 2016 03:41
you can break most of them ime
pliers make easy work of it
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:41
the straight ones always left some plastic at the end whenever i tried
Martin Ayotte
@martinayotte
Jan 06 2016 03:42
@skorokithakis , All this is to kept your postman healthy ... ;-)
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:43
haha, it definitely will
what's "quiescent current" on the LDO?
Martin Ayotte
@martinayotte
Jan 06 2016 03:44
About your previous link, I used them too, but for "expansive module" plugin that need to be gently fit because of round needles.
But they are too expensive ...
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:45
oh, hm
aren't they meant to be soldered on boards?
Martin Ayotte
@martinayotte
Jan 06 2016 03:46
The links are provided earlier are much cheaper, still breakable, at worst scenario is that one pin is lost in the cut
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:46
oh, hmm
i'll buy some of those too then :smile:
Chris Elsworth
@celsworth
Jan 06 2016 03:47
they are what I use
and they're ok imo :)
Martin Ayotte
@martinayotte
Jan 06 2016 03:47
the expensive one are also usefull for low profile height
So, postman will be healthy ...
Stavros Korokithakis
@skorokithakis
Jan 06 2016 03:48
yep :P
alright, i'm off to bed before i buy anything else
goodnight guys!
Chris Elsworth
@celsworth
Jan 06 2016 03:48
good idea, night :)
Martin Ayotte
@martinayotte
Jan 06 2016 03:49
Yes, it is a bit late in Greece ... Ciao !
Matt Kocaj
@cottsak
Jan 06 2016 07:11
help anyone? esp8266/Arduino#1375
brutzler
@brutzler
Jan 06 2016 09:40
I have a DS18B20 (OneWire) supplied with 5V. The signal to the ESP is routed over a levelshifter. For One Wire there should be used a 1k pullup resistor. Do I need this pullup on both sides of the level-shifter?
ystrem
@ystrem
Jan 06 2016 10:24
@brutzler why do you use levelshifter ?
You can power it with 3.3V like esp
brutzler
@brutzler
Jan 06 2016 10:31
Yes, I could, but I have a long wiring and 10 x DS18B20.
ystrem
@ystrem
Jan 06 2016 10:32
how long ?
brutzler
@brutzler
Jan 06 2016 10:33
2-3m each.
Mario Mikočević
@mozgy
Jan 06 2016 11:40
darn you three, @martinayotte @celsworth and @skorokithakis , must not read backlog messages, ebay shopping list just grows .. :D ;)
Chris Elsworth
@celsworth
Jan 06 2016 11:41
I didn't paste any ebay links! wasn't me :D
Markus
@Links2004
Jan 06 2016 11:59
@cottsak @igrr need to take a look at your SSL problem, he is the expert for SSL
FWeinb
@FWeinb
Jan 06 2016 12:05
@cottsak I had a problem with SSL too. My server didn't support the encryption the ESP needed. I don't know if the ESP can take a 4096bit RSA key.
Matt Kocaj
@cottsak
Jan 06 2016 12:26
@FWeinb oh... thats kinda lame
interestingly however, while the HTTPClient is having SSL issues, my original code https://raw.githubusercontent.com/cottsak/opensesameseed/4b6ce65e166d394e807ae6ef8c9e3427b8c8222c/iforgottocloseit/iforgottocloseit.ino which used WiFiClientSecure did work with that host.
(however, Twilio did change their cert last month.. it is possible the key size changed)
FWeinb
@FWeinb
Jan 06 2016 12:40
Okay. According to this comment the axTLS lib dose support 4096 bit keys: https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/include/ssl.h#L40
FWeinb
@FWeinb
Jan 06 2016 13:07
What are you guys using for memory leak detection? Just watching the heap or can i use something like valgrind?
@/all Dear users, please > platformio upgrade to PlatformIO 2.7.1 and reinitialise your exiting projects via > platformio init if you have used PlatformIO Project Generator for CLion, Emacs, Sublime Text, VIM or Eclipse IDE.
FWeinb
@FWeinb
Jan 06 2016 13:38
@ivankravets Awesome! Using platformIO since i found it. Loving it.
Will a init overwrite files i created?
Ivan Kravets
@ivankravets
Jan 06 2016 13:40
@FWeinb no, only files related to IDE
which IDE do you use?
FWeinb
@FWeinb
Jan 06 2016 13:40
Atom.
Ivan Kravets
@ivankravets
Jan 06 2016 13:41
Wow! I forget to add to history that PlatformIO received Project generator for Atom :)
FWeinb
@FWeinb
Jan 06 2016 13:42
I know. Followed the commits.
Ivan Kravets
@ivankravets
Jan 06 2016 13:42
It doesn't look like full Project Generator, but it will add .clang_complete file to project
You can use it with autocomplete-clang plugin
Sorry, I'll add it to docs and explain all steps
FWeinb
@FWeinb
Jan 06 2016 13:43
Great. Thanks.
Ivan Kravets
@ivankravets
Jan 06 2016 13:44
Could you try it?
FWeinb
@FWeinb
Jan 06 2016 13:45
Working great!
Ivan Kravets
@ivankravets
Jan 06 2016 13:45
then platformio init --ide atom -b *** and you will receive appropriate .clang_complete
Cool!
FWeinb
@FWeinb
Jan 06 2016 13:46
Did that. Just awesome.
can we define own commands in the .ini?
platformio disassemble would be great.
Ivan Kravets
@ivankravets
Jan 06 2016 13:58
you can create own targets
platformio run -t disassemble
FWeinb
@FWeinb
Jan 06 2016 13:59
That sounds great.
FWeinb
@FWeinb
Jan 06 2016 14:05
Uploading from Atom isn't working for me. Atom just keeps freezing at 100%
Oh, the upload process is hanging when the device is busy. On the command line the process is just aborted if the device is not ready.
Chris Elsworth
@celsworth
Jan 06 2016 14:17
that seems quite expensive
wide range of transistors
Ivan Kravets
@ivankravets
Jan 06 2016 14:55
@FWeinb documentation has been updated! http://docs.platformio.org/en/latest/ide/atom.html#integration
FWeinb
@FWeinb
Jan 06 2016 14:56
Thanks
Ivan Kravets
@ivankravets
Jan 06 2016 14:57
@FWeinb if device is busy you can't make uploading. I can't disconnect it before uploading because I don't know the process ID and don't have appropriate permissions.
FWeinb
@FWeinb
Jan 06 2016 14:59
Okay. thanks for clarifying.
Ivan Kravets
@ivankravets
Jan 06 2016 15:00
Does completions work good for you?
FWeinb
@FWeinb
Jan 06 2016 15:01
Excellent.
Ivan Kravets
@ivankravets
Jan 06 2016 15:02
:+1: :blush:
Helio Machado
@0x2b3bfa0
Jan 06 2016 15:05
@/all: Someone understands Chinese?
I have a datasheet (http://www.bpsemi.com/pdf/BP2818/BP2818_DS_Rev%201.2.pdf) that has not a English version.
@Links2004: Maybe could you give me some advices seeing the circuit only?
This is a really cheap (4€) dimmable 18W driver from Ali. It seems to detect a SCR dimmer and adjust correctly the brightness.
Markus
@Links2004
Jan 06 2016 15:07
you want to dimm with the ESP?
Helio Machado
@0x2b3bfa0
Jan 06 2016 15:07
Could I do a quick hack to bind it to a CNY17 optoisolator and...?
@Links2004: Yes.
FWeinb
@FWeinb
Jan 06 2016 15:12
@ivankravets To create a custom target i have to write some python right?
Markus
@Links2004
Jan 06 2016 15:13
@crushedice2000 the LN pin looks like a voltage detection, but I can not read what value they want to see there.
by TRIAC the have the word pwm may the sample there the phase shift.
the infos i can get from the datasheet are very limited, if you can risk to damaging it i have a idea.
Helio Machado
@0x2b3bfa0
Jan 06 2016 15:18
@Links2004: What idea? I'm a sparky guy! (joke intended)
I would desire to input PWM from the ESP for dimming.
Maybe using GTranslate for it...
Today arrived two nodemcu ;) I expect a long life for them (about 3-5 days) :smiling_imp:
Markus
@Links2004
Jan 06 2016 15:22
it will be using a opto so no damage to the nodemcu :)
pwm @50 or 100 Hz will be needed, some experimenting there.
will draw a bit
Ivan Kravets
@ivankravets
Jan 06 2016 15:23
@FWeinb For example, env.Alias('disassemble', COMMAND), where command could be path to real command or pointer to Python function
FWeinb
@FWeinb
Jan 06 2016 15:26
Thanks
Helio Machado
@0x2b3bfa0
Jan 06 2016 15:33
@Links2004: Good idea! However, would be great to know where to place the optocoupler... :smiling_imp: (see here)
However, Now I'm ~150km far of the light (only have the PSU). I won't have access to the lamp again until Jan 9.
I only proposed it to have some info and avoid touching and sparking.
Markus
@Links2004
Jan 06 2016 15:38
@crushedice2000
blob
Helio Machado
@0x2b3bfa0
Jan 06 2016 15:50
@Links2004: Only a few questions:
  1. Should I break the circuit between R7 and R8?
  2. Can I take ground from GND pin instead of that point?
Lunch time, see you later!
Thanks!
Markus
@Links2004
Jan 06 2016 15:51
@crushedice2000 2x yes
the open question is what the HCD pin is doing, it make no sense to me.
Alexander Kratzer
@hexxter
Jan 06 2016 15:57

Hi i get this error with the neopixel lib:
NeoPixelBus/NeoPixelEsp8266.c.o:(.text+0xc): undefined reference to xt_rsil' NeoPixelBus/NeoPixelEsp8266.c.o:(.text+0x10): undefined reference toxt_wsr_ps'
NeoPixelBus/NeoPixelEsp8266.c.o: In function `esp8266_uart1_send_pixels'

can anybody help whats going wrong

Markus
@Links2004
Jan 06 2016 15:58
@hexxter do you try to control ws2811/2812 ?
Alexander Kratzer
@hexxter
Jan 06 2016 16:05
yes i will control ws2812b
Markus
@Links2004
Jan 06 2016 16:07
they can be controled via DMA instad of interupts and timers (more stable) https://github.com/JoDaNl/esp8266_ws2812_i2s
Alexander Kratzer
@hexxter
Jan 06 2016 16:09
ok thanks for the link
Mario Mikočević
@mozgy
Jan 06 2016 16:22
@martinayotte have those ss14 already in bin :D
Martin Ayotte
@martinayotte
Jan 06 2016 16:23
@mozgy , I provide the link just because they are cheaper than yours ;-P
Mario Mikočević
@mozgy
Jan 06 2016 16:25
hehe true true
Aditya Tannu
@AdySan
Jan 06 2016 16:32
With some help I got this working on I2C @ 1MHz. Next I wanna try and stream some sort of low res video from the internet. any ideas for a good source? For best efficiency, I'll probably need a websocket connection, am i right? https://twitter.com/Ady/status/684610768134774785
Chris Elsworth
@celsworth
Jan 06 2016 16:33
whoa, neat :)
as for video, you're going to decode mpeg on the esp? that would be.. impressive to say the least
Aditya Tannu
@AdySan
Jan 06 2016 16:35
nah, i dont mind sending raw bitstream, basically xbm frames.
just wanna make a prototype to prove that some sort of video streaming is possible
I'm not sure if fetching the content over wifi is going to be too slow
to get a decent frame rate
this proves that I2c is not the bottle neck here to get smooth graphics
Chris Elsworth
@celsworth
Jan 06 2016 16:36
I don't know how fast i2c is :)
Aditya Tannu
@AdySan
Jan 06 2016 16:37
well most people run it at 400KHz, this is at 1MHz, as the display can handle it.
Chris Elsworth
@celsworth
Jan 06 2016 16:37
one byte per tick?
Aditya Tannu
@AdySan
Jan 06 2016 16:38
bit i would assume
Martin Ayotte
@martinayotte
Jan 06 2016 16:38
yes, bits !
Aditya Tannu
@AdySan
Jan 06 2016 16:38
so 8 bits plus protocol overhead
can calculate the effective bitrate
Chris Elsworth
@celsworth
Jan 06 2016 16:38
yeah thats what I wondered :)
Aditya Tannu
@AdySan
Jan 06 2016 16:39
but here one pixel is a bit, btw
so just need 8Kbits data for a frame
I was wondering if it would be possible to maintain a websocket connection and display the data received over that connection
Also, any downsides to running the ESP at 160MHz, other than heat probably?
Chris Elsworth
@celsworth
Jan 06 2016 16:41
none
just more power and heat.
Aditya Tannu
@AdySan
Jan 06 2016 16:42
ok
FWeinb
@FWeinb
Jan 06 2016 16:45
@AdySan how did you get 1Mhz I2C? I am currently writing a lib for the same display.
Aditya Tannu
@AdySan
Jan 06 2016 16:46
Aditya Tannu
@AdySan
Jan 06 2016 16:47
It does get sketch though, I see random activity sometimes, and also during firmware updates.
FWeinb
@FWeinb
Jan 06 2016 16:47
That would only get you to 700khz.
Aditya Tannu
@AdySan
Jan 06 2016 16:49
interesting, i dont have a scope to measure. I was going based on this sparkfun/SparkFun_Micro_OLED_Particle_Library#2
FWeinb
@FWeinb
Jan 06 2016 16:51
Okay. Than I am fast enough. I implemented double buffering for the display and only update changes.
Aditya Tannu
@AdySan
Jan 06 2016 16:52
cool, so you dont need to send the entire framebuffer over for every frame?
FWeinb
@FWeinb
Jan 06 2016 16:52
Exactly.
The ESP has enough memory. I am running a webserver websocket and the display on one.
Aditya Tannu
@AdySan
Jan 06 2016 16:54
Cool, I'll wait for your library, I want to try and display something coming over a websocket too.
FWeinb
@FWeinb
Jan 06 2016 16:55
WebSocket are fast as hell instand feedback on the display.
Aditya Tannu
@AdySan
Jan 06 2016 16:56
yeah with this trial I got around 200Hz at best with the arduino core https://github.com/AdySan/ESPSocket
@CNLohr got around 600Hz using the native SDK I believe
Markus
@Links2004
Jan 06 2016 16:58
@AdySan WebSocketsServer has an update will double the rate at minimum :)
Aditya Tannu
@AdySan
Jan 06 2016 16:59
@Links2004 ah really? I will give it a try tonight! Thanks!
Markus
@Links2004
Jan 06 2016 16:59
my tests show up to 900hz :)
FWeinb
@FWeinb
Jan 06 2016 17:01
@Links2004 mine too. In binary mode uploading 1024 bytes and drawing it to screen takes less than 500ms
Aditya Tannu
@AdySan
Jan 06 2016 17:03
@FWeinb so one frame (128x64) every half a second? isnt that slow?
FWeinb
@FWeinb
Jan 06 2016 17:05
I haven't tested if that saturates the connection.
I am dithering an image via javascript and send it to the ESP.
Aditya Tannu
@AdySan
Jan 06 2016 17:07
can't wait to try that out.
FWeinb
@FWeinb
Jan 06 2016 17:36
movie played in browser dithering and send to esp gets me 60fps.
Helio Machado
@0x2b3bfa0
Jan 06 2016 17:37
@Links2004: I'm here!
HCD: Opto-isolated output for controlling the external dimming transistor
Michael Miller
@Makuna
Jan 06 2016 17:51
@hexxter You can also see my NeoPixelBus library, which I have a UartDriven branch that is stable and I have been working on getting an I2s branch also. The official Adafruit library was based off the work I did in my master branch which is not stable when using wifi.
PyB
@PyBerger
Jan 06 2016 17:53
Hello,
Helio Machado
@0x2b3bfa0
Jan 06 2016 17:53
@PyBerger: Hi!
PyB
@PyBerger
Jan 06 2016 17:53
I have just tried the 2.0.1-rc1 release.
it seems I have problem with DHCP. Same software than with 1.4.0, ESP as AP, and android as station, the android device does not get a DHCP address from the ESP it seems
anyone noticed this ?
Helio Machado
@0x2b3bfa0
Jan 06 2016 17:57
@/all: Anyone can help @PyBerger?
@PyBerger: It happened me with some wifi chips on computers. However my tablet connects well.
PyB
@PyBerger
Jan 06 2016 17:59
tested withth
sorry, tested with the 2 phones that used to work well with the 2.0.0 SDK
Aditya Tannu
@AdySan
Jan 06 2016 18:02
@FWeinb that is amazing!
FWeinb
@FWeinb
Jan 06 2016 18:04
Making a video right now.
PyB
@PyBerger
Jan 06 2016 18:08
swapping from sdk 1.5.0 to sdk1.4.0 in 2.0.1 and it works again
PyB
@PyBerger
Jan 06 2016 18:15
is there a way to get more SDK traces displayed on the UART than using Serial.setDebugOutput(true);
FWeinb
@FWeinb
Jan 06 2016 18:18
Playing Big Buck Bunny via WebSocket on an SSD1306: https://vimeo.com/150929166
@AdySan
Helio Machado
@0x2b3bfa0
Jan 06 2016 18:19
@FWeinb: Amazing!
FWeinb
@FWeinb
Jan 06 2016 18:20
Thanks to @Links2004 for his WebSocket lib!
Erik Moqvist
@eerimoq
Jan 06 2016 18:20
Cool!
FWeinb
@FWeinb
Jan 06 2016 18:22
The flickering is only on the video.
Aditya Tannu
@AdySan
Jan 06 2016 18:23
@FWeinb Awesome!
ystrem
@ystrem
Jan 06 2016 18:28
@FWeinb cool :)
FWeinb
@FWeinb
Jan 06 2016 18:30
Thanks @AdySan @ystrem
ystrem
@ystrem
Jan 06 2016 18:30
can you share the code for that ?
FWeinb
@FWeinb
Jan 06 2016 18:31
I have to clean it up and finish the lib for the display first. But will def. do. I am in the middle of my exams so could take a few days.
Aditya Tannu
@AdySan
Jan 06 2016 18:32
@FWeinb haha exam stress makes the best stuff come out! good luck!
FWeinb
@FWeinb
Jan 06 2016 18:33
Yeah. Doing other stuff is always more fun.
ystrem
@ystrem
Jan 06 2016 18:35
Ok, it would be great for studing :]
Markus
@Links2004
Jan 06 2016 18:38
@crushedice2000 the question is why they have a transistor + resistor there, it make no sense to me.
it can enable disable a load for the main power line (12W max) but it has nothing to do with the LED dimming part,
may it for emulating a normal lamp, but i can only guess here.
from my point of view R17, C6, Q1, Q2 and Kb are not needed for the dimming or the LED stuff.
Helio Machado
@0x2b3bfa0
Jan 06 2016 18:41
@Links2004: Why do I need C6? (the capacitor you asked me to add)
Markus
@Links2004
Jan 06 2016 18:41
@FWeinb looking nice
the ESP can handle VNC, have here a 320x240 RGB display at 20-25fps :)
FWeinb
@FWeinb
Jan 06 2016 18:42
Not bad.
Markus
@Links2004
Jan 06 2016 18:42
@crushedice2000 its only for stabilization may not needed
Helio Machado
@0x2b3bfa0
Jan 06 2016 18:42
@Links2004: Ok. Will it be bad for a 100Hz PWM?
Markus
@Links2004
Jan 06 2016 18:43
@FWeinb I have a library for it but need to sort the license stuff out before release (boring task).
FWeinb
@FWeinb
Jan 06 2016 18:43
8 bit per color?
Markus
@Links2004
Jan 06 2016 18:44
@FWeinb 565 encoding (max for the display) ILI9341
@crushedice2000 the C6 is before the PWM?
FWeinb
@FWeinb
Jan 06 2016 18:46
25 FPS would make ~3MiB per second. Not to bad.
Markus
@Links2004
Jan 06 2016 18:47
it not only raw, have implemented RRE, CORRE and HEXTILE encoding
the server swap between based on best performance
FWeinb
@FWeinb
Jan 06 2016 18:49
Okay, would be interesting to see.
Markus
@Links2004
Jan 06 2016 18:50
have a video from the first test.
FWeinb
@FWeinb
Jan 06 2016 18:52
Any change to upload it somewhere?
Markus
@Links2004
Jan 06 2016 18:52
yes will upload
FWeinb
@FWeinb
Jan 06 2016 18:53
The only video i could find where someone had an LCD attached to the ESP is this: https://www.youtube.com/watch?v=YDcC7KydUms Loud music!
PyB
@PyBerger
Jan 06 2016 18:54
@Links2004 trying the more debug options to see
Helio Machado
@0x2b3bfa0
Jan 06 2016 18:59
@Links2004: I refer to the C6 you appended between GND and the voltage divider. It (should) avoid a speedy PWM.
Busy now, see you later.
Markus
@Links2004
Jan 06 2016 19:01
@FWeinb https://youtu.be/MA47npOtApc the VNC server runs a web browser on linux.
Steve Nelson
@zenmanenergy
Jan 06 2016 19:03
holy balls!
@Links2004 that is really cool!
Markus
@Links2004
Jan 06 2016 19:06
looks like i need to handle the license stuff soon :)
Steve Nelson
@zenmanenergy
Jan 06 2016 19:07
how the hell did you do that?!
Markus
@Links2004
Jan 06 2016 19:08
the ESP running a full VNC client,
the VNC server is a linux server running xVNC + chrome.
Steve Nelson
@zenmanenergy
Jan 06 2016 19:09
you need to chill out on the brain steroids. your brain is going to crack your skull.
seriously that is the coolest thing I’ve seen in a long time.
Aditya Tannu
@AdySan
Jan 06 2016 19:11
+1
Markus
@Links2004
Jan 06 2016 19:12
thanks, may I sort out the license thinks at weekend, its since 8 Months on my todo list :P
FWeinb
@FWeinb
Jan 06 2016 19:32
Thanks! That looks really awesome.
PyB
@PyBerger
Jan 06 2016 19:37

@Links2004 , I have done 2 traces:

SDK1.4.0 with 2.0.1-rc1 :
wifi evt: 7
..chg_A3:-180
...wifi evt: 7
add 1
aid 1
station: b4:07:f9:9d:6c:ee join, AID = 1
wifi evt: 5
..WS:ac
:ref 1
WS:av
:ref 2
:ur 2
:ref 2
:ur 2

SDK1.5.0 with 2.0.1-rc1:
wifi evt: 7
wifi evt: 7
wifi evt: 7
.wifi evt: 7
add 1
aid 1
station: b4:07:f9:9d:6c:ee join, AID = 1
wifi evt: 5
station: b4:07:f9:9d:6c:ee join, AID = 1
wifi evt: 5
station: b4:07:f9:9d:6c:ee join, AID = 1
wifi evt: 5
.wifi evt: 7
wifi evt: 7
wifi evt: 7

any clue
?
Markus
@Links2004
Jan 06 2016 19:40
wifi evt: 5 --> EVENT_SOFTAPMODE_STACONNECTED
wifi evt: 7 --> EVENT_SOFTAPMODE_PROBEREQRECVED
there is no disconnect from the ESP side.
PyB
@PyBerger
Jan 06 2016 19:53
yes my app disconnect because of no IP address
Markus
@Links2004
Jan 06 2016 19:54
o now i see it the dhcp server seams not be started.
how your code looks like?
PyB
@PyBerger
Jan 06 2016 19:56
as simple as
``

Serial.setDebugOutput(true);
WiFi.mode(WIFI_AP);
WiFi.softAP(espSSID);
debug_println("ESP8266 Wi-Fi init done!");
debug_println("");
softAPIP = WiFi.softAPIP();
debug_print("IP address: ");
debug_println(softAPIP);
debug_print("SDK Version: ");
debug_println(system_get_sdk_version());

debug_println("");

(then I do start a Wi-Fi server)
WiFiServer tcpTransponder(TCP_UDP_TRANSPONDER_PORT);
tcpTransponder.begin();
tcpTransponder.setNoDelay(true);
Markus
@Links2004
Jan 06 2016 19:59
softAP normally starts the dhcp server,
can you add WiFi.softAPConfig to force the DHCP config.
PyB
@PyBerger
Jan 06 2016 20:11

Added this :
IPAddress IP_AP(192,168,4,1);
IPAddress IP_Gateway(192,168,4,1);
IPAddress IP_Subnet(192,168,4,255);

Serial.setDebugOutput(true);
WiFi.mode(WIFI_AP);
WiFi.softAP(espSSID);
WiFi.softAPConfig(IP_AP, IP_Gateway, IP_Subnet);

doesn't look any better
this is what I'm getting on my Android logcat :smile:
E/DhcpStateMachine: DHCP failed on wlan0: Timed out waiting for DHCP to finish
01-06 21:11:38.187 13335-13414/system_process E/WifiStateMachine: IP configuration failed
Markus
@Links2004
Jan 06 2016 20:13
when the DHCP server is started you see:
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
in the log, will take a look too it tomorrow.
PyB
@PyBerger
Jan 06 2016 20:13
not sure as I don't see it neither with the SDK1.4.0 (that works fine) nor with the SDK1.5.0 that miserably fail
only thing I change is the sdk folder (libs, ld and includes)
Me No Dev
@me-no-dev
Jan 06 2016 20:16
are there any people here that have ESP31B and want to run arduino?
sticilface
@sticilface
Jan 06 2016 20:43
me... (but in two months:( )
Chris Elsworth
@celsworth
Jan 06 2016 21:11
@me-no-dev yes :)
I will test it if you've got something
Me No Dev
@me-no-dev
Jan 06 2016 21:22
you need toolchain, esp31b and usb-uart
have those?
onkelfunny
@onkelfunny
Jan 06 2016 21:30
Has anyone ever get this message with serial.debug?
E:M 1584
E:M 1584
E:M 1584
E:M 1584
E:M 1584
onkelfunny
@onkelfunny
Jan 06 2016 21:47
now i have this exception after post JSON Data to a ESP module. (i post the JSON 4 or 5 times)
E:M 408
E:M 1584
E:M 768
Fatal exception 28(LoadProhibitedCause):
epc1=0x4024395f, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000100, depc=0x00000000

Exception (28):
epc1=0x4024395f epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000100 depc=0x00000000

ctx: sys 

sp: 3ffffd20 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffffec0:  40243309 3ffffee0 00000004 40105850  
3ffffed0:  00000000 00000007 00000000 fffffffe  
3ffffee0:  3ffea390 00000300 00000000 00000000  
3ffffef0:  40206ea9 00000000 00000000 f7ffffff
40243954 <phy_check_data_table>:
40243954:    630b          addi.n    a6, a3, -1
40243956:    169c          beqz.n    a6, 4024396b <phy_check_data_table+0x17>
40243958:    070c          movi.n    a7, 0
4024395a:    028d          mov.n    a8, a2
4024395c:    a09620            addx4    a9, a6, a2
4024395f:    0858          l32i.n    a5, a8, 0
40243961:    884b          addi.n    a8, a8, 4
40243963:    757a          add.n    a7, a5, a7
40243965:    f69897            bne    a8, a9, 4024395f <phy_check_data_table+0xb>
40243968:    000046            j    4024396d <phy_check_data_table+0x19>
4024396b:    070c          movi.n    a7, 0
4024396d:    a02320            addx4    a2, a3, a2
40243970:    fed222            addmi    a2, a2, 0xfffffe00
40243973:    f37c          movi.n    a3, -1
40243975:    303730            xor    a3, a7, a3
40243978:    b48c          beqz.n    a4, 40243987 <phy_check_data_table+0x33>
4024397a:    7f2222            l32i    a2, a2, 0x1fc
4024397d:    140c          movi.n    a4, 1
4024397f:    c02230            sub    a2, a2, a3
40243982:    932420            movnez    a2, a4, a2
40243985:    f00d          ret.n
40243987:    7f6232            s32i    a3, a2, 0x1fc
4024398a:    020c          movi.n    a2, 0
4024398c:    f00d          ret.n
Martin Ayotte
@martinayotte
Jan 06 2016 22:09
@me-no-dev , I wish to run Arduino on ESP32, but I didn't received one :-(
brutzler
@brutzler
Jan 06 2016 22:15
@martinayotte where did you order one?
Mario Mikočević
@mozgy
Jan 06 2016 22:16
@brutzler you can't order yet .. just beg for one ..
brutzler
@brutzler
Jan 06 2016 22:16
and where is the "begger-station"?
Martin Ayotte
@martinayotte
Jan 06 2016 22:17
@brutzler , I didn't order, they are not in production. Early in November, they open Beta User program on their forum. I asked to be part of it. Later, they even ask me my phone number for the shipment. But unfortunately, I think there were more users than the 200 units available.
brutzler
@brutzler
Jan 06 2016 22:19
OK, ... no new toy for me :-(
Then I can finish my project. And after this its bike-season and no time for programming any more....
Chris Elsworth
@celsworth
Jan 06 2016 22:21
@me-no-dev yep. let me just check the toolchain is up to date
yep