Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

Problems with __delay_ms() (titan2020)

$
0
0
Hello, I'm trying to use the __delay_ms function included with XC16. My program sets an output pin, calls the delay, clears the pin, and calls the delay again. When I simulate this code, it seems to work as expected twice through the main while loop, then..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



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