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 10 matches
CCS Forum Index
Author Message
  Topic: Problem with EEPROM read/write float custom routine
xTeox

Replies: 2
Views: 4909

PostForum: General CCS C Discussion   Posted: Wed Oct 07, 2009 2:33 pm   Subject: Problem with EEPROM read/write float custom routine
huahuahuahuahuahuahu........ forget it!.... I found the mistake!!!!!!!!!.... it's on the parameters of write function... I was sending a int32 data, when it must be a float data... uhahuahuauhhuahua.. ...
  Topic: Problem with EEPROM read/write float custom routine
xTeox

Replies: 2
Views: 4909

PostForum: General CCS C Discussion   Posted: Wed Oct 07, 2009 2:02 pm   Subject: Problem with EEPROM read/write float custom routine
Hi, everyone!
I'm with a problem... my routine doesn't work. It is only writing the first byte (but it access 4 times the loop 'for') and I don't know why. And, when tries to read, it return 0.
The ...
  Topic: Problem with PRINTF and/or FPRINTF on a PIC18F4550
xTeox

Replies: 13
Views: 14773

PostForum: General CCS C Discussion   Posted: Fri Aug 28, 2009 6:42 am   Subject: Problem with PRINTF and/or FPRINTF on a PIC18F4550
Tx ∞one...
I've found the solution... the problem is really in the LCD file... the logic isn't wrong... but, comparing mine and the example of the link, I've saw one mistake I did: as my LCD config ...
  Topic: Problem with PRINTF and/or FPRINTF on a PIC18F4550
xTeox

Replies: 13
Views: 14773

PostForum: General CCS C Discussion   Posted: Fri Aug 28, 2009 5:32 am   Subject: Problem with PRINTF and/or FPRINTF on a PIC18F4550
Yes... I did... but as soon I've found the source of the errors... is in the LCD file... without the LCD my communication works properly... there's something wrong in the function "LCD_inicia()&q ...
  Topic: Problem with PRINTF and/or FPRINTF on a PIC18F4550
xTeox

Replies: 13
Views: 14773

PostForum: General CCS C Discussion   Posted: Thu Aug 27, 2009 2:29 pm   Subject: Problem with PRINTF and/or FPRINTF on a PIC18F4550
I cannot use to read the pressed key by using "get" because I cannot stop the program. This is the because I've used "kbhit".
On my concentration, my way is the better way (to me) ...
  Topic: Problem with PRINTF and/or FPRINTF on a PIC18F4550
xTeox

Replies: 13
Views: 14773

PostForum: General CCS C Discussion   Posted: Thu Aug 27, 2009 1:57 pm   Subject: Problem with PRINTF and/or FPRINTF on a PIC18F4550
On the entry code, if I retire the comment of the function "LCD_inicia()", it will just crashes.
#include <18F4550.h>
#fuses INTRC_IO,NOWDT,PUT,BROWNOUT,NOLVP
#use delay(clock=8 ...
  Topic: Problem with PRINTF and/or FPRINTF on a PIC18F4550
xTeox

Replies: 13
Views: 14773

PostForum: General CCS C Discussion   Posted: Thu Aug 27, 2009 1:52 pm   Subject: Problem with PRINTF and/or FPRINTF on a PIC18F4550
I'm compiling using CCS C 4.020 PCWH Compiler integrated with MPLAB IDE 8.33 and programming using PICkit 2 v2.61.
Crashes, I mean, the PIC doesn't do nothing. It freezes. The LCD comes black charact ...
  Topic: Problem with PRINTF and/or FPRINTF on a PIC18F4550
xTeox

Replies: 13
Views: 14773

PostForum: General CCS C Discussion   Posted: Thu Aug 27, 2009 1:12 pm   Subject: Problem with PRINTF and/or FPRINTF on a PIC18F4550
Sorry, but the LCD problem is another thing to fix after the RS232...
On the LCD, it doesn't work if I unify the printf's into only one, like:
printf(lcd_putc, "Atenuado:");
...
  Topic: Problem with PRINTF and/or FPRINTF on a PIC18F4550
xTeox

Replies: 13
Views: 14773

PostForum: General CCS C Discussion   Posted: Thu Aug 27, 2009 12:45 pm   Subject: Problem with PRINTF and/or FPRINTF on a PIC18F4550
Sorry... here they are:

MAIN.C
#include <CONFIG>
#include <VARS>
#include <COAD>

void main(void) {
config();
while(1) {
if (kbhi ...
  Topic: Problem with PRINTF and/or FPRINTF on a PIC18F4550
xTeox

Replies: 13
Views: 14773

PostForum: General CCS C Discussion   Posted: Thu Aug 27, 2009 11:26 am   Subject: Problem with PRINTF and/or FPRINTF on a PIC18F4550
Hi! I'm trying do send some chars by USART, but I'm getting a strange behavior when it runs the code.
The criteria is to send one description of a menu that will be works on a console or hypertermina ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group