Current News

Moderator: Mmiscool

User avatar
By Electroguard
#45684 I'm glad there wasn't anything seriously wrong with the new release, cos it didn't seem too healthy last night.

Yes, after going to bed I did wonder if perhaps variable name lengths had been reduced, because I have some biggish ones for my clarity, but at 2.30am I wasn't curious enough to get up to start more testing.

Thanks for offering the recompiled eval version, but now that I know there's a cap on variable name lengths it's probably just best that I reduce them as required - 10 characters should be ample now that I know (although 12 or 15 could give a bit of extra freedom).

The program doesn't do much, just looks for incoming udp msgs and responds according to recognised name and commands sent from the UDP_Debug utility... I'm still just exploring what ESP_Basic allows me to do, for the moment.

But something I was meaning to ask, can gpio00 button be used for normal program use if required?

The program has a routine that can flash out the local IP address on the gpio01 led, and I was intending to trigger it locally by the gpio00 flashing button, but I'm not sure that's still going to be possible now that the button is being used to recover from continual rebooting?
User avatar
By Electroguard
#45695 Ta, good news about the button.

Re. the var cap length, I've started trying to reduce the var names and found I quickly ran out of shorter self-explanatory names to be able to differentiate related vars.

I understand the need for a var length cap, but I.M.H.O. I think a length of 15 would allow for much more useful var names than 10 does, because 10 imposes differing obscure abbreviations which requires adhering to some sort of strict shortcut convention that needs to be remembered or referred to somewhere, else quickly become confusing and non-intuitive to the likes of myself who doesn't have a mind as sharp as a needle!.
User avatar
By cicciocb
#45703 Yes, I agree with you. In fact this limit has been introduced because now the variables are managed in a different way. This number (10) can be raised to 20 with a very minimal impact on the memory.
If MMISCOOL agree, we can change this limit for the next build.

I was also thinking to another option, "autorun" to be selected only when the program has been debugged.
Again this needs an approval from the boss :D

CiccioCB