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 12 matches
CCS Forum Index
Author Message
  Topic: 18f23k22 Dual UART not working
cogen

Replies: 6
Views: 13603

PostForum: General CCS C Discussion   Posted: Wed Jun 07, 2017 5:53 am   Subject: Follow up
Ttelmah,
Yes, I reduced the code to where it started functioning again, then started adding pieces back until it broke. It was the initialization of my first, (of many), arrays that caused my UART ...
  Topic: 18f23k22 Dual UART not working
cogen

Replies: 6
Views: 13603

PostForum: General CCS C Discussion   Posted: Tue Jun 06, 2017 7:43 am   Subject: 18f23k22 Dual UART not working
Wow, apparently it was getting late...I managed to break my interrupt code and I had reverted to simplified code to fix it. Thanks for pointing out the rookie mistake! Now to figure out the other pr ...
  Topic: 18f23k22 Dual UART not working
cogen

Replies: 6
Views: 13603

PostForum: General CCS C Discussion   Posted: Tue Jun 06, 2017 12:55 am   Subject: 18f23k22 Dual UART not working
Greetings. Can anyone tell me why below code does not work? I can echo the first referenced port but the second one does not echo. I have the same problem when I do an interrupt implementation. I ...
  Topic: 16f88 strange UART behavior
cogen

Replies: 5
Views: 6592

PostForum: General CCS C Discussion   Posted: Sun Jul 17, 2011 10:52 am   Subject: 16f88 strange UART behavior
Well, I pulled the rx pin high, and did not solve the problem. I am doing PIC to PIC communication however, and the problem seems to clear up when I cut the PC out of the picture. I had tried a coup ...
  Topic: 16f88 strange UART behavior
cogen

Replies: 5
Views: 6592

PostForum: General CCS C Discussion   Posted: Thu Jul 14, 2011 7:52 pm   Subject: 16f88 strange UART behavior
I have built the hardware as Ttelmah has described with the exception of pulling the rx pin on the pic high. Was not sure that was what was meant. Rs485 chip is a sn65hvd1780.
  Topic: 16f88 strange UART behavior
cogen

Replies: 5
Views: 6592

PostForum: General CCS C Discussion   Posted: Thu Jul 14, 2011 4:21 pm   Subject: 16f88 strange UART behavior
Ttelmah,
Thank you for your response. I will check the RS485 hardware this evening, (my other job).

I just wanted to thank you in person, (or as close as I can get). I have seen many, many thou ...
  Topic: 16f88 strange UART behavior
cogen

Replies: 5
Views: 6592

PostForum: General CCS C Discussion   Posted: Thu Jul 14, 2011 1:10 am   Subject: 16f88 strange UART behavior
Greetings,
The following code will echo, but will not work with the case statement. Also kbhit() with a single getc() call will just loop, even though there are no characters being input.

I exp ...
  Topic: Error 91
cogen

Replies: 6
Views: 6276

PostForum: General CCS C Discussion   Posted: Sun Jul 01, 2007 8:30 am   Subject: Error 91
Thank you for your response. I will follow up with tech support. I also agree about the low power setting for the watch crystal. I have a fairly long startup using LP and have found that the XT set ...
  Topic: Error 91
cogen

Replies: 6
Views: 6276

PostForum: General CCS C Discussion   Posted: Sat Jun 30, 2007 8:24 pm   Subject: error message
The error message i posted was pasted from the original program. If you need the error message from the test program I will retype, although the only difference is the line and column numbers: Line 1 ...
  Topic: Error 91
cogen

Replies: 6
Views: 6276

PostForum: General CCS C Discussion   Posted: Sat Jun 30, 2007 8:20 pm   Subject: temp.h

#include <12F675.h>
#device adc=8

#FUSES NOWDT //No Watch Dog Timer
#FUSES XT //Crystal osc <= 4mhz
#FUSES NOCPD //No EE pr ...
  Topic: Error 91
cogen

Replies: 6
Views: 6276

PostForum: General CCS C Discussion   Posted: Sat Jun 30, 2007 8:16 pm   Subject: Error 91
#include "D:\CTI\alteronics\osc\Controller Code\PWM_osc\temp.h"


void main()
{

setup_adc_ports(NO_ANALOGS|VSS_VDD);
setup_adc(ADC_OFF);
se ...
  Topic: Error 91
cogen

Replies: 6
Views: 6276

PostForum: General CCS C Discussion   Posted: Sat Jun 30, 2007 1:43 pm   Subject: Error 91
Hello all

Pic 12f675
CCS Vers 4.019

When I compile delay_ms(96), I get:
Error 91 "D:\CTI\alteronics\osc\Controller Code\oscillator.c" Line 57(10,12): Expression must be a constant or ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group