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 3 matches
CCS Forum Index
Author Message
  Topic: interrupt by receiving byte while sending every 0.1s
wstay

Replies: 4
Views: 5397

PostForum: General CCS C Discussion   Posted: Thu Nov 22, 2012 1:23 pm   Subject: interrupt by receiving byte while sending every 0.1s
The best way is to open and read several of the fine examples CCS supplies in the 'examples' folder as well as reading the 'help file( press F11 when your project is open).

probably 99.44% of what ...
  Topic: interrupt by receiving byte while sending every 0.1s
wstay

Replies: 4
Views: 5397

PostForum: General CCS C Discussion   Posted: Thu Nov 22, 2012 10:50 am   Subject: interrupt by receiving byte while sending every 0.1s
Read the comments by Ttelmah in these threads on how to wake-up from
sleep and read incoming RS-232 characters:
http://www.ccsinfo.com/forum/viewtopic.php?t=36125
http://www.ccsinfo.com/forum/viewt ...
  Topic: interrupt by receiving byte while sending every 0.1s
wstay

Replies: 4
Views: 5397

PostForum: General CCS C Discussion   Posted: Wed Nov 21, 2012 10:32 am   Subject: interrupt by receiving byte while sending every 0.1s

#include "16F877A.h"
#device ADC=10
#fuses HS,NOWDT
#use delay(clock=4000000)
#use rs232(uart1)
int overflow_count=0; // Global variables
int16 water_level; // water ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group