CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 8 matches
CCS Forum Index
Author Message
  Topic: Display decimal in serial terminal
anishpsla

Replies: 4
Views: 9432

PostForum: General CCS C Discussion   Posted: Fri Jan 02, 2015 12:08 pm   Subject: Display decimal in serial terminal
Thanks for the reply. I got the code %d will do the magic.

But how if I want to compare the values. For example, if the current analog value is 80% greater than of previous value then I want to ri ...
  Topic: Display decimal in serial terminal
anishpsla

Replies: 4
Views: 9432

PostForum: General CCS C Discussion   Posted: Fri Jan 02, 2015 10:54 am   Subject: Display decimal in serial terminal
I write a small program to test serial port functionality. The program is to display the numbers 0-30. But the output is in hex format. How can I display the number in decimal format ? My code is

...
  Topic: Timer0 Interrupt not working
anishpsla

Replies: 9
Views: 14505

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2015 10:10 am   Subject: Timer0 Interrupt not working
Finally the code worked with minor changes. Thanks everyone for the help.
  Topic: Timer0 Interrupt not working
anishpsla

Replies: 9
Views: 14505

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2015 7:41 am   Subject: Timer0 Interrupt not working
the interrupt code still not working. I am simulating the code in Proteus. But the blink led working
  Topic: Timer0 Interrupt not working
anishpsla

Replies: 9
Views: 14505

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2015 4:33 am   Subject: Timer0 Interrupt not working
Very good explanation. Thanks for your reply.
  Topic: Timer0 Interrupt not working
anishpsla

Replies: 9
Views: 14505

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2015 12:38 am   Subject: Timer0 Interrupt not working
Thanks for your reply. I will post the result after checking the code.
  Topic: Timer0 Interrupt not working
anishpsla

Replies: 9
Views: 14505

PostForum: General CCS C Discussion   Posted: Wed Dec 31, 2014 11:18 pm   Subject: Timer0 Interrupt not working
I am new to CCS. I just testing the new compiler. So please help me by posting the full code. Thanks
  Topic: Timer0 Interrupt not working
anishpsla

Replies: 9
Views: 14505

PostForum: General CCS C Discussion   Posted: Wed Dec 31, 2014 1:49 pm   Subject: Timer0 Interrupt not working
I am new to CCS compiler. The following code to test Timer0 simply does not working. Please help me.

#include <new_int.h>

int interrupt_counter= 0;

#INT_TIMER0
void TIMER0_isr( ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group