Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4922

Interrupts- HCS12 - DragonBoard12+

$
0
0
I'm building a clock for 12 and 24 hour format. After setting the current time i need to run the clock. I need interrupt method to select either one of them. here is my way and can somebody tell me what I'm doing wrong? I use Codewarrior and C language. This is just part of the program that involves interrupts.

Code (Text):
  1.  
  2. #include "C:\Users\Lohitha\Documents\Codewarrior Data\HCS12Utilities\hcs12.h"    
  3. #include "C:\Users\Lohitha\Documents\Codewarrior Data\HCS12Utilities\delay.h"
  4.      
  5.  
  6. void...
Interrupts- HCS12 - DragonBoard12+

Viewing all articles
Browse latest Browse all 4922

Trending Articles