Report Bugs Here

Moderator: Mmiscool

User avatar
By xtal
#33301 Yep still instr()
I have discovered that if I load my full code that instr() fails 0,0
If I then load ONLY your code it still fails 0,0

mycommand = "eerfh25xx"
x = instr(mycommand,"rfh")
print x
serialprintln x
wait

You code Fails giving 0,0 until I reboot esp then it gives 3,3

I reboot and load my code it fails ,,, then until next reboot your code will fail

I suspect memory issue since every thing every thing works except the last bit of code issue that maybe gets flagged and wont clear until reboot ????

Now I have to do more testing to see how much code I can have before failing... :o .
User avatar
By Mmiscool
#33308 Can you post the full program you are having trouble with because the snippet above seems to be working for me. Could be another issue.