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 28 matches
CCS Forum Index
Author Message
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2018 9:29 am   Subject: sim800c
True. I started counting from 1, not 0 :-).

Thanks
thank you
its helped me a lot
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Wed Dec 05, 2018 12:51 pm   Subject: sim800c
You are right that unfortunately, the manual does not say much about this.

With the RECEIVE_BUFFER option, the circular buffer and the RDA interrupt for placing characters into the receive buffer a ...
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Sat Dec 01, 2018 3:14 pm   Subject: sim800c
Suite of things:

First, though the buffering is automatic, you do need to have
'enable_interrupts(GLOBAL);' at the start of your main, or the buffering will
not be enabled.

i did that befor ...
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Sat Dec 01, 2018 10:55 am   Subject: sim800c
You are right that unfortunately, the manual does not say much about this.

With the RECEIVE_BUFFER option, the circular buffer and the RDA interrupt for placing characters into the receive buffer a ...
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Sat Dec 01, 2018 8:53 am   Subject: sim800c
There are also a few posts on this board about using the RECEIVE_BUFFER option in #use rs232

example:
#USE RS232(BAUD=115200, UART3, BITS=8, PARITY=N, STOP=1, STREAM=PC, ERRORS, RECEIVE_BUFFER=128 ...
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Wed Nov 28, 2018 8:00 am   Subject: Re: sim800c

#INT_RDA
void RDA_isr(void)
{
for(i=0;i<=15;i++){
a
NAVID, you were told back in August 2017 not to do this.
You were told to only get one byte per interrupt, and not
to use a for() loop ...
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Wed Nov 28, 2018 7:53 am   Subject: sim800c
Fortunately, if he is using one of the standard shields designed for the Arduino, these have got FET level shifters built in, If he is not using a circuit like this, then there will be problems.

hi ...
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Wed Nov 28, 2018 7:47 am   Subject: sim800c
I have to ask a basic hardware question.
Is the 'sim800c' designed to operate at 5 volts? The 877 is a 5 volt PIC so if the sim800c is a 3 volt device, it cannot interface or work properly.
You shou ...
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Mon Nov 26, 2018 10:37 am   Subject: sim800c
Your approach is fundamentally flawed.
:D

INT_RDA, means _one_ character is available to be read. Just one.
Not 32.
so what i must to do??!! its my receiver interrupt...


Then you are looki ...
  Topic: sim800c
NAVID

Replies: 28
Views: 56102

PostForum: General CCS C Discussion   Posted: Mon Nov 26, 2018 8:26 am   Subject: sim800c
Hello everyone I have a problem with communicates sim800c. I use pic16f877a and i can send commands to sim800 and it works correctly but i can't display its answer...
This is my code. I hope somebody ...
  Topic: adc [Solved]
NAVID

Replies: 24
Views: 57813

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2018 2:45 am   Subject: adc [Solved]
hi...i solved it!!!
the adc was work correctly when i increased the delay...but its not showed on lcd!!
so i wrote a function named "display" and call it every where in program to
refres ...
  Topic: adc [Solved]
NAVID

Replies: 24
Views: 57813

PostForum: General CCS C Discussion   Posted: Wed Mar 07, 2018 8:56 am   Subject: adc [Solved]
I'd try something like this....

void main()
{
setup_adc_ports(AN0_AN1_AN3);
setup_adc(ADC_CLOCK_DIV_64);
int16 a0,a1;
delay_ms(500); ///hardwar ...
  Topic: adc [Solved]
NAVID

Replies: 24
Views: 57813

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2018 2:40 pm   Subject: adc [Solved]
please post your current program...
maybe we can see the error.

sure...tnx for help


#include <main2.h>
#include "lcd_flex.c"
unsigned int8 period,puls_forward=0,puls_back,st ...
  Topic: adc [Solved]
NAVID

Replies: 24
Views: 57813

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2018 9:04 am   Subject: adc [Solved]
What is the problem when you run real hardware ?
You have never told us.

You told us the problem with Proteus is the error message:
"ADC conversion started before 'wait' time has expired fo ...
  Topic: adc [Solved]
NAVID

Replies: 24
Views: 57813

PostForum: General CCS C Discussion   Posted: Tue Mar 06, 2018 8:45 am   Subject: adc [Solved]
OK. I'd say that the error is just a fault with Proteus.
I've seen exactly the same on another chip, where the acquisition time is hardware programmable, and was set to MicroChip's recommendations, d ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group