- Sat Jan 30, 2016 7:51 am
#39985
Hi,
I'm appreciative of the help, in any case. I'm not yet up to speed on the lower level workings of far too many things. I've been looking forward to getting into working with Arduino things for a couple of years and basically just started devoting some serious time to this. Is there a main software repo for all things Arduino? Having used FreeBSD for many years, (cross-)compiling entire OS's from source is not a foreign concept for me, but I haven't looked into this further for Arduino yet. I'm not exactly sure how I would implement partial differences in the IDE. I have just been using various sketches so far and trying to find the supposedly functional corresponding libraries. It has been a challenge. The lack of debugging switches in most of the sketches and/or libraries keeps the learning curve pretty steep when things go wrong.
On a brighter note, I did find a sketch and library combination from bportaluri that I coaxed into running (
https://github.com/bportaluri/WiFiEsp ). It didn't run "out-of-the-box" because of at least one hard-coded reference to hardware serial in the IDE and the fact that the Leonardo + Sparkfun ESP8266 shield seem to require a lot more patience (spiced 4-5 delay() functions at a few key initialization points) to get up to speed than the sketch allowed. The code seems like it could use a few more sanity checks and a more concrete method of waiting for replies, but I finally have something that demonstrates some basic UDP functionality.
The challenge now is to find out why this combination works when others don't. I think that some of the lower level approaches are quite different and it's not simply going to be a matter of patching one library from another, even if much of the code is wrappers for AT commands. It would really be nice, however, if the Espresstif people could unify the best of these individual efforts into a code base that they would push as the preferred primary code base. Unfortunately they are not alone as hardware providers in a sea of individual efforts. The DS3231 RTC setup also suffers from basically the same symptoms. This shattered development model reminds me of the old saying of the thousand monkeys with a thousand typewriters...
Thanks for all of your help. I'm sure I'll need more in the future.
S.