system_get_free_heap_size()needs to always return the DRAM heap size (at present it returns current heap value), regardless of which heap is currently being selected. This is the way all the other vPort... APIs were set up to work. SDK only knows how to handle DRAM. And,
ESP.getFreeHeap()needs to use a different API. It is late for me, I'll look at this again tomorrow and make sure I am not missing something.
Hello Experts, if I use the interrupt functionality on the ESP like this:
attachInterrupt(digitalPinToInterrupt(PIN), ISR_gate_state, CHANGE);
And I need an interrupt on this pin.
Is it then possible to do like this:
pinMode(PIN, INPUT_PULLUP); attachInterrupt(digitalPinToInterrupt(PIN), ISR_gate_state, CHANGE);
Or will the
pinMode setting overwritten when using the interrupt?
And I have to use an external pullUp?
hostnamesets the hostname reported to DHCP server
vvvv RFC952 vvvv ASSUMPTIONS 1. A "name" (Net, Host, Gateway, or Domain name) is a text string up to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus sign (-), and period (.). Note that periods are only allowed when they serve to delimit components of "domain style names". (See RFC-921, "Domain Name System Implementation Schedule", for background). No blank or space characters are permitted as part of a name. No distinction is made between upper and lower case. The first character must be an alpha character. The last character must not be a minus sign or period. A host which serves as a GATEWAY should have "-GATEWAY" or "-GW" as part of its name. Hosts which do not serve as Internet gateways should not use "-GATEWAY" and "-GW" as part of their names. A host which is a TAC should have "-TAC" as the last part of its host name, if it is a DoD host. Single character names or nicknames are not allowed. ^^^^ RFC952 ^^^^