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 29 matches
CCS Forum Index
Author Message
  Topic: question about getc()!!
Study

Replies: 18
Views: 39988

PostForum: General CCS C Discussion   Posted: Mon May 30, 2016 9:55 am   Subject: question about getc()!!
Thanks for your posts friends Very Happy
  Topic: question about getc()!!
Study

Replies: 18
Views: 39988

PostForum: General CCS C Discussion   Posted: Mon May 30, 2016 1:33 am   Subject: question about getc()!!
Read the sticky at the top of the Forum.

Isis _does not work_.

It has faults in a lot of it's parts.

Trying to 'design' PIC circuits using Isis, wastes your time, and ours.
but here my probl ...
  Topic: question about getc()!!
Study

Replies: 18
Views: 39988

PostForum: General CCS C Discussion   Posted: Sun May 29, 2016 10:54 pm   Subject: question about getc()!!
Let me guess... Proteus/ISIS ???
Yes, I said proteus on my post why you want to guess? Smile
  Topic: question about getc()!!
Study

Replies: 18
Views: 39988

PostForum: General CCS C Discussion   Posted: Sun May 29, 2016 4:13 pm   Subject: question about getc()!!
Take pin C4.
Disconnect it from the input.
Pull it up to 5v.

Does the PIC still not stop?.

I have been testing on simulator and it didn't work, after pulling it up it stops now.
Thanks frien ...
  Topic: question about getc()!!
Study

Replies: 18
Views: 39988

PostForum: General CCS C Discussion   Posted: Sun May 29, 2016 3:17 pm   Subject: question about getc()!!


#include <16F877A.h>
#device ADC=10
#FUSES PUT, NOLVP
#use delay(crystal=8MHz,restart_wdt)
#use rs232(baud=9600,parity=N,xmit=PIN_C3,rcv=PIN_C4,bits=8,restart_wdt)

#de ...
  Topic: question about getc()!!
Study

Replies: 18
Views: 39988

PostForum: General CCS C Discussion   Posted: Sun May 29, 2016 12:24 pm   Subject: question about getc()!!
C4 on this PIC, is a Schmidt input. Requires the signal to go up to 4v, to be seen as a 'high'. The Arduino, is a 3.3v device internally. It's output, will never be seen as 'high' by your PIC input. R ...
  Topic: question about getc()!!
Study

Replies: 18
Views: 39988

PostForum: General CCS C Discussion   Posted: Sun May 29, 2016 10:58 am   Subject: question about getc()!!
Hi,

You should always post a small, compilable test program for us to test, rather than just a few code snippets....

What PIC?
What compiler & version?
Hardware or software UART?
What is ...
  Topic: question about getc()!!
Study

Replies: 18
Views: 39988

PostForum: General CCS C Discussion   Posted: Sun May 29, 2016 8:38 am   Subject: question about getc()!!
Hi friends
As i read on CCS help, on getc function it waits for new char but in my program it skips getc if no char recieve too!!
this is my main loop:
while(1)
{


...
  Topic: Problem with i2c between 2 micros
Study

Replies: 2
Views: 5159

PostForum: General CCS C Discussion   Posted: Sun Dec 18, 2011 10:08 am   Subject: Problem with i2c between 2 micros
Hi friends, I wrote two programs for two 16f877a to send some numbers through I2C, the fist one is master and sends number 1 to 10 and the other one is slave and should get numbers and show on portb, ...
  Topic: Problem with dspic30F2011 fuse settings
Study

Replies: 6
Views: 5945

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2010 2:23 am   Subject: Problem with dspic30F2011 fuse settings
Nobody can help? why auto reset sometimes doesn't work? Rolling Eyes
  Topic: Problem with dspic30F2011 fuse settings
Study

Replies: 6
Views: 5945

PostForum: General CCS C Discussion   Posted: Sat Nov 13, 2010 11:29 am   Subject: Problem with dspic30F2011 fuse settings
I think Auto reset doesn't work properly.
  Topic: Problem with dspic30F2011 fuse settings
Study

Replies: 6
Views: 5945

PostForum: General CCS C Discussion   Posted: Sat Nov 13, 2010 11:24 am   Subject: Problem with dspic30F2011 fuse settings
Hi friends
I want to start with dspic30F2011 and i wrote simple blink program, it sometimes work when i plug power to it and sometime doesn't work, I think the problem is with fuse bit settings, I w ...
  Topic: Changing global var on a function that doesn't use it !!!
Study

Replies: 5
Views: 7127

PostForum: General CCS C Discussion   Posted: Wed Nov 10, 2010 9:28 am   Subject: Changing global var on a function that doesn't use it !!!
I got answer, Thanks a lot for your helps friends Smile
  Topic: Changing global var on a function that doesn't use it !!!
Study

Replies: 5
Views: 7127

PostForum: General CCS C Discussion   Posted: Wed Nov 10, 2010 5:25 am   Subject: Changing global var on a function that doesn't use it !!!
Thanks a lot Ttelmah
I think the problem is what you say, I have global array too that i use it on function, it stors at: 019-01C and my global var is on 01D-01E.
what should i do now?
  Topic: Changing global var on a function that doesn't use it !!!
Study

Replies: 5
Views: 7127

PostForum: General CCS C Discussion   Posted: Wed Nov 10, 2010 3:17 am   Subject: Changing global var on a function that doesn't use it !!!
Hi friends
I have a program that has one global var (unsigned int16) and I'm using 18F452.
I use this variable in main and timer1_int. I have some function too. When I call one function it does its ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group