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 60 matches
CCS Forum Index
Author Message
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Wed Jun 27, 2012 7:06 am   Subject: Problem with UART - PIC16LF1827
Now it works fine!

Matter resolved.

Thank you to all who could help!

I apologize if it was inconvenient, but it was not my intention.


Best regards!
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Wed Jun 27, 2012 6:10 am   Subject: Problem with UART - PIC16LF1827
Thank you for all the explanations you gave me.

I'll try.
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Tue Jun 26, 2012 6:19 pm   Subject: Problem with UART - PIC16LF1827
Hello
This code results of several tests, using all advice given by the members here.

1 - I've seen in some places on the internet as well and used that way. I'll fix immediately!
2 - If I put th ...
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Tue Jun 26, 2012 10:10 am   Subject: Problem with UART - PIC16LF1827
Thanks to everyone for the answers.

After the first cycle, the string is "null" at position 0.
I did some tests and concluded that the value remained after the first cycle.

In the cod ...
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sun Jun 24, 2012 1:43 pm   Subject: Problem with UART - PIC16LF1827
OK.

Thank you!

I'll test both and see what results.
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sun Jun 24, 2012 7:17 am   Subject: Problem with UART - PIC16LF1827
Thanks for the replies.

I've tried to take "setup_uart", but after the serial port no longer works.

I changed the settings on my terminal program to send only CR, but the PIC does not ...
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sat Jun 23, 2012 5:53 pm   Subject: Problem with UART - PIC16LF1827
I have looked everywhere and nobody had a similar problem?

It's very strange, not to convert twice.


void MAIN()
{
unsigned int16 num;
unsigned int i, valor[6];

setup ...
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sat Jun 23, 2012 5:17 pm   Subject: Problem with UART - PIC16LF1827
Thanks for your patience.

I changed as you told me to "int8".

The problem is not solved.
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sat Jun 23, 2012 4:48 pm   Subject: Problem with UART - PIC16LF1827
http://i473.photobucket.com/albums/rr100/daviddmmartins/SemTtulo-10.png

I do not understand why this is happening ....
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sat Jun 23, 2012 4:32 pm   Subject: Problem with UART - PIC16LF1827
Everything works fine now.

But one problem remains. All goes well the first time. When Enio data again, the "atoll" does not work.

void MAIN()
{
unsigned int16 valor[ ...
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sat Jun 23, 2012 2:30 pm   Subject: Problem with UART - PIC16LF1827
I'm testing a very simple program now.

But the LED flashes only 2 times .... even after I send data.

#include "16lf1827.h"
#use delay (clock=1000000)
#fuses INTRC_IO, NOLVP, ...
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sat Jun 23, 2012 11:30 am   Subject: Problem with UART - PIC16LF1827
Thanks for the replies.

I followed your suggestions, but now I have no response from the PIC.

#include "16lf1827.h"
#include <stdlib.h>
#use delay (clock=1000000)
#fus ...
  Topic: Problem with UART - PIC16LF1827
Dave_25152

Replies: 23
Views: 34587

PostForum: General CCS C Discussion   Posted: Sat Jun 23, 2012 8:44 am   Subject: Problem with UART - PIC16LF1827
Hello all.

I am doing a very simple program and I am having some problems with it.

What happens is that when sending information for the first time, everything is fine, but the following data, i ...
  Topic: Repetitions of large values - PIC10F200
Dave_25152

Replies: 3
Views: 5498

PostForum: General CCS C Discussion   Posted: Thu Jun 14, 2012 4:42 pm   Subject: Repetitions of large values - PIC10F200
Hello

The compiler of the 4.114 version, is this error?

I already did laps of this, but I have even used a PIC 10F200 and he has no interrupts, I can not do otherwise.


Best Wishes
  Topic: Repetitions of large values - PIC10F200
Dave_25152

Replies: 3
Views: 5498

PostForum: General CCS C Discussion   Posted: Thu Jun 14, 2012 8:50 am   Subject: Repetitions of large values - PIC10F200
Hello

What am I doing wrong?

I have the program below that should be repeated every 12 hours.
Actually I have a delay of 1min 30s.
Why?

How am I doing accounts 16bit, I compensei with time- ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group