Arbitrary.Logic

Results 85 comments of Arbitrary.Logic

Hi, Thanks for the kind words. Its always good to hear words of appreciation. > how can I learn to write so compact (and so hard to understand ;-) )...

YEah, I just rushed it through to get it added before the weekend, most of these are planned for tonight. This is a read only version of the EEWrap lib...

> Having size_t would be nice I can certainly add in a size_t variant. What would you name it? I can add in a `size_e` & `size_p` for EEWrap &...

I've got an ESP, so I can test it. As far as I thought `PROGMEM` was simply a define to nothing in the ESP, so the lib would work, it...

Cheers guys for testing :) I will look around to see if I can mark the library as suitable for the esp. As far as I know the lib manager...

Yeah, I'll post any news.

I have found the source, and yes PGMWrap is fine to use with the ESP8266 because all the AVR defines have been re purposed for ESP8266: [pgmspace.h](https://github.com/esp8266/Arduino/blob/3bfd5d51b470efc4979f46c7b3565d91ab4fc084/cores/esp8266/pgmspace.h), [pgmspace.cpp](https://github.com/esp8266/Arduino/blob/633e48f3aec5f1c3c11d4498fc90d378d49e6e9f/cores/esp8266/pgmspace.cpp)

Not really a PsychicHttp thing, but seeing as there is significant `String` usage, I modified this line: https://github.com/espressif/arduino-esp32/blob/b2e7338a5e8529b5ede0a8fc7d95703074be093c/cores/esp32/WString.h#L305 To `enum { SSOSIZE = 32 };`. After testing, heap allocations are...

> Thanks @Chris--A - I'll try that out. Yeah, the ESP8266 and ESP32 versions have been optimized for short strings to avoid allocations. I'm new to the ESP crowd, but...

> Long ago, with AsyncTCP we discussed that the template character should be changed to a more complex type. % is commonly used in `CSS` and in `javascript` strings. I...