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 4 matches
CCS Forum Index
Author Message
  Topic: problem with ADC in PIC18LF4620
mbyes

Replies: 4
Views: 7458

PostForum: General CCS C Discussion   Posted: Mon Dec 18, 2006 10:24 pm   Subject: problem with ADC in PIC18LF4620
Hi friends.
Below source is me coding.
At every read_adc(), value incorrect.

This source is definitely correct?

Thank you.


#include
#device adc=10
#fuses H4, NOWDT, NOPROTECT, NOBROW ...
  Topic: Why not include to HEX?
mbyes

Replies: 3
Views: 4952

PostForum: General CCS C Discussion   Posted: Sun Nov 26, 2006 7:43 pm   Subject: Why not include to HEX?
this code is compiled success.

but not include to the HEX file.

thank you.


const int16 Pattern[9216] =
{ //Novatek Logo
0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFF ...
  Topic: I2C Slave mode with START, STOP Interrupt enable
mbyes

Replies: 2
Views: 7215

PostForum: General CCS C Discussion   Posted: Thu Aug 24, 2006 6:01 pm   Subject: answer one's own question
#include
#fuses H4,NOWDT,NOPROTECT,NOLVP,NOPUT,NOBROWNOUT // High Speed Clock for PLL, No Watch Dog Timer, No Code Protection, No Low Voltage P?, No Power Up Timer
#use delay(clock=40000000)
#use ...
  Topic: I2C Slave mode with START, STOP Interrupt enable
mbyes

Replies: 2
Views: 7215

PostForum: General CCS C Discussion   Posted: Mon Aug 14, 2006 1:56 am   Subject: I2C Slave mode with START, STOP Interrupt enable
The Microchip PIC16F87XA has got a MSSP module. Bits SSPM(3 downto 0) in
SSPCON register configure the mode of the module. For I2C operation the
following options are available:

1111 = I2C slave, ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group