Author |
Message |
Topic: I am facing a problem with printf and control characters |
jujoab
Replies: 9
Views: 20326
|
Forum: General CCS C Discussion Posted: Tue Jan 09, 2018 10:38 pm Subject: I am facing a problem with printf and control characters |
Thanks to all.
I replaced the usb to serial converter and problem went away.
jujoab |
Topic: I am facing a problem with printf and control characters |
jujoab
Replies: 9
Views: 20326
|
Forum: General CCS C Discussion Posted: Sat Jan 06, 2018 11:48 am Subject: I am facing a problem with printf and control characters |
<cr> <lf> text
means you've got the terminal program configured to SHOW control characters. You'll have to see the options for display for your terminal program and turn off or disable o ... |
Topic: I am facing a problem with printf and control characters |
jujoab
Replies: 9
Views: 20326
|
Forum: General CCS C Discussion Posted: Sat Jan 06, 2018 10:43 am Subject: I am facing a problem with printf and control characters |
Forgot to ask.
Do you know a simple way to send the messages from the pic to the PC using bluetooth or wifi ? Like having a terminal program at the PC able to display whatever is sent from the P ... |
Topic: I am facing a problem with printf and control characters |
jujoab
Replies: 9
Views: 20326
|
Forum: General CCS C Discussion Posted: Sat Jan 06, 2018 10:39 am Subject: I am facing a problem with printf and control characters |
hi
I think I detected the problem, as being the "usb to serial adapter". I will be able to test sometime next week when the new and different brand adapter will arrive. So i think any ... |
Topic: I am facing a problem with printf and control characters |
jujoab
Replies: 9
Views: 20326
|
Forum: General CCS C Discussion Posted: Fri Jan 05, 2018 6:16 pm Subject: I am facing a problem with printf and control characters |
I am trying to use fprint from prototype to PC via serial cable.
Considering the control characters used, the output is as follows.
My source (simplified):
#use rs232(baud=9600,parity=N, ... |
Topic: compiler strange behavior |
jujoab
Replies: 9
Views: 22627
|
Forum: General CCS C Discussion Posted: Mon Jan 01, 2018 11:58 am Subject: compiler strange behavior |
You might try www.banggood.com for some of the electronics. I've ordered a great many 'modules' and been pleased with quality and the FREE delivery, from China. It takes +-3 weeks though. While most ... |
Topic: compiler strange behavior |
jujoab
Replies: 9
Views: 22627
|
Forum: General CCS C Discussion Posted: Mon Jan 01, 2018 9:35 am Subject: compiler strange behavior |
All suggestions are very valuable. I appreciate your time and effort.
The simplest one for me ( as suggested on one of your answers ) is to maintain both proteus and PWM open, edit and compile wit ... |
Topic: compiler strange behavior |
jujoab
Replies: 9
Views: 22627
|
Forum: General CCS C Discussion Posted: Sun Dec 31, 2017 4:31 pm Subject: compiler strange behavior |
The editing was performed from the Proteus editor.
Therein lies your answer.
Get RID of Proteus and have a Happy New year !
Thanks, i have already heard of Proteus problems.
But I don't k ... |
Topic: compiler strange behavior |
jujoab
Replies: 9
Views: 22627
|
Forum: General CCS C Discussion Posted: Sun Dec 31, 2017 1:03 pm Subject: compiler strange behavior |
Debugging different programs i have experiences 3 or 4 times lately that the compiler output behaves different from source, some times on very simple routines.
On all cases the solution was to cut/ ... |
Topic: rom mapping of a constant |
jujoab
Replies: 5
Views: 13670
|
Forum: General CCS C Discussion Posted: Thu Nov 09, 2017 2:43 pm Subject: rom mapping of a constant |
There is a major fault with what you are doing which would stop it working for anything real....
You are declaring pointers to a char array, as being to int16's. The problem here is if you ... |
Topic: rom mapping of a constant |
jujoab
Replies: 5
Views: 13670
|
Forum: General CCS C Discussion Posted: Thu Nov 09, 2017 12:12 pm Subject: rom mapping of a constant |
The following test program exemplifies my problem.
I am reading all related info at the forum plus ccs c manual, but till now could not find the right solution
My objective is to find out at exe ... |
Topic: pwm compile error |
jujoab
Replies: 5
Views: 11856
|
Forum: General CCS C Discussion Posted: Tue Oct 31, 2017 8:38 am Subject: pwm compile error |
Your chip does not have the power PWM module.....
The power_pwm functions only work on chips that have the power PWM module.
Yours has a standard CCP, and an ECCP.
The only PIC18's with this mo ... |
Topic: pwm compile error |
jujoab
Replies: 5
Views: 11856
|
Forum: General CCS C Discussion Posted: Mon Oct 30, 2017 3:21 pm Subject: pwm compile error |
What chip?.
Does your chip have the secondary compare registers?.
Hi Ttelmah
I am testing with the 18f4420.
I think I have a definition problem, will report when I get a solution.
Thanks
... |
Topic: Timer0 interrupt every 64 counts |
jujoab
Replies: 3
Views: 9861
|
Forum: General CCS C Discussion Posted: Mon Oct 30, 2017 2:21 pm Subject: thanks to all |
Thanks to all for the valuable information.
I am trying another way, using PWM to generate the tick.
Thanks again
jujoba |
Topic: pwm compile error |
jujoab
Replies: 5
Views: 11856
|
Forum: General CCS C Discussion Posted: Mon Oct 30, 2017 2:02 pm Subject: pwm compile error |
the compiler is reporting an error on the "set_compare_time(2, OCR_2, OCRS_2); " saying:
error 58, expenting a close paren
to make shure, i tried to compile 2 or 3 examples from the PIC ... |
|