Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20637

BASCOM-AVR : Problem with Mid$ happens in chip but not in simulator. : REPLY

$
0
0
[quote:af0fa35529="Evert :-)"]Try something like this to see if the problem is maybe in the print, or are you using Rs485 or something like that? [code:1:af0fa35529] Print "Command: " ; Temp$ ; " end" 'Temp$ should be "START,2,3" waitms 500 [/code:1:af0fa35529][/quote:af0fa35529] Thanks to you too, Evert. I'm not using RS485 or printing or inputting in that block of code, which fails consistently even without the debug print statements. The only active interrupt is a Timer1 overflow interrupt service routine once per second which sets a flag only. I'll try increasing the stack size to see if that helps.

Viewing all articles
Browse latest Browse all 20637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>