Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Problem with DELAYUS();

$
0
0

Hello, I'm having problem with DELAYUS(); function...

When i put DELAYUS(200); it works fine, but when I have DELAYUS(delay); and delay is global variabe defined as uint16_t delay=200; i dont get the same delay time

I have read on forum that DELAYUS() works fine from RAM, and my code is in FLASH...

Now i'd like to have my code in FLASH, but I'd like to copy that critical part in RAM... How can I do that???

Do i have just copy my variable "delay" to RAM or i have to move something else???

Can you give me some examples???

Thanks, Regards...

Ivan


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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