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: pic16f877a CFGWORD2 not implemented
electrobaiker

Replies: 5
Views: 16869

PostForum: General CCS C Discussion   Posted: Mon May 28, 2018 6:56 pm   Subject: pic16f877a CFGWORD2 not implemented
Yes now it work properly. The problem with Timer1 delay come from i miss to set pic frequency in proteus to 8 MHz, by default it is 1 MHz.
Thanks for your support.
  Topic: pic16f877a CFGWORD2 not implemented
electrobaiker

Replies: 5
Views: 16869

PostForum: General CCS C Discussion   Posted: Mon May 28, 2018 5:51 pm   Subject: pic16f877a CFGWORD2 not implemented
I changed #include <16F887.h> to #include <16F877a.h>

The problem now is I can't get 1us delay in Timer1.

Using this prescaler config
setup_timer_1( T1_INTERNAL | T1_DIV_BY_ ...
  Topic: pic16f877a CFGWORD2 not implemented
electrobaiker

Replies: 5
Views: 16869

PostForum: General CCS C Discussion   Posted: Mon May 28, 2018 4:23 pm   Subject: pic16f877a CFGWORD2 not implemented
this is the code

//LCD module connections
#define LCD_RS_PIN PIN_D0
#define LCD_RW_PIN PIN_D1
#define LCD_ENABLE_PIN PIN_D2
#define LCD_DATA4 PIN_D3
#define LCD_DATA5 PIN_D4
#define LCD_DATA6 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group