Author |
Message |
Topic: Picedem2 plus and buzzer |
Paolino
Replies: 2
Views: 7312
|
Forum: General CCS C Discussion Posted: Mon Feb 27, 2006 7:09 am Subject: Picedem2 plus and buzzer |
It seems that the buzzer must be driven with a PWM signal, since it has not an internal oscillator itself. I do not have right now the schematich of PICEDEM 2 PLUS, but I seem to remeber that the buzz ... |
Topic: USB O.T. question... |
Paolino
Replies: 5
Views: 7207
|
Forum: General CCS C Discussion Posted: Fri Feb 03, 2006 1:04 am Subject: USB O.T. question... |
Thank you all for your answers. I think I will buy that book. I have to start, so if I have "a lot" of examples to look at, I guess it could be good. I will let you know, after have read the book.
... |
Topic: USB O.T. question... |
Paolino
Replies: 5
Views: 7207
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2006 8:55 am Subject: USB O.T. question... |
Dear all,
I can not find a thread which was talking about a useful book related to how to make first steps with USB. If someone of you has the title(s), can you suggest me it, please.
Thank you very ... |
Topic: help for rs232 |
Paolino
Replies: 2
Views: 4395
|
Forum: General CCS C Discussion Posted: Mon Jan 09, 2006 9:31 am Subject: help for rs232 |
SherpaDoug,
he has already given an answer here http://www.ccsinfo.com/forum/viewtopic.php?t=25619
Best regards.
Paolo. |
Topic: help for rs232 |
Paolino
Replies: 3
Views: 5125
|
Forum: General CCS C Discussion Posted: Mon Jan 09, 2006 4:58 am Subject: help for rs232 |
Ok, post also your "C:\16F73\testrs232.h" file, that you include at the beginning of the code. |
Topic: help for rs232 |
Paolino
Replies: 3
Views: 5125
|
Forum: General CCS C Discussion Posted: Mon Jan 09, 2006 3:40 am Subject: help for rs232 |
Send us info about:
1) PIC you are using;
2) CCS compiler version;
3) post your code (use the available CODE button).
Then a simple question: are you using a demo board (such as PICDEM2 or other ... |
Topic: ADC readings fault |
Paolino
Replies: 6
Views: 7321
|
Forum: General CCS C Discussion Posted: Wed Jan 04, 2006 3:48 am Subject: ADC readings fault |
Sorry, I was not logged in...
That was the point. Thank you; my eyes have been open by your answers... After lot of hours, I could not see a simple %LX missing... Thank you again for your help.
P ... |
Topic: ADC readings fault |
Paolino
Replies: 6
Views: 7321
|
Forum: General CCS C Discussion Posted: Tue Jan 03, 2006 10:45 am Subject: ADC readings fault |
Dear JBM,
I will test it tomorrow morning. Thank you for your help. I will let you know.
Paolo. |
Topic: ADC readings fault |
Paolino
Replies: 6
Views: 7321
|
Forum: General CCS C Discussion Posted: Tue Jan 03, 2006 2:44 am Subject: ADC readings fault |
I do not know what I am missing, but it seems that my PIC18F252 reads 8 bits data instead of 10 bits... I am working with CCS PCWH 3.241. Here is my code:
void analog_reading (void)
{ ... |
Topic: 16F916 and setup_adc_ports |
Paolino
Replies: 2
Views: 4574
|
Forum: General CCS C Discussion Posted: Wed Dec 07, 2005 4:09 am Subject: 16F916 and setup_adc_ports |
I have not tested the code, but if you look at the 16F916.h file (find it in the c:\program files\picc\devices folder), you get:
// Constants used in SETUP_ADC_PORTS() are:
#define sAN ... |
Topic: LCD (20x2) Driver |
Paolino
Replies: 1
Views: 4105
|
Forum: General CCS C Discussion Posted: Tue Dec 06, 2005 1:48 am Subject: LCD (20x2) Driver |
Look at the folder c:\program files\picc\drivers on your PC.
There, if you have the original copy of CCS, you will find LCD.C which is a good driver written by CCS for LCDs with HD44780 driver. There ... |
Topic: Inductive Sensor connected to PIC design question |
Paolino
Replies: 9
Views: 11928
|
Forum: General CCS C Discussion Posted: Thu Dec 01, 2005 4:04 am Subject: Inductive Sensor connected to PIC design question |
This item has been discussed here http://www.ccsinfo.com/forum/viewtopic.php?t=19999&highlight=
Maybe it can be useful also for you. Take a look.
Best wishes.
Paolo. |
Topic: I dont understand this piece of code from LCD.c driver |
Paolino
Replies: 3
Views: 6277
|
Forum: General CCS C Discussion Posted: Thu Sep 22, 2005 5:52 am Subject: I dont understand this piece of code from LCD.c driver |
CCS wrote this driver which can be easly used on PIC16 and PIC18. Those PIC families can have (depend on the device type) PORTB and PORTD and you can select where connect your LCD. For example, using ... |
Topic: RS232 I cant receive at 230400 bauds |
Paolino
Replies: 9
Views: 11270
|
Forum: General CCS C Discussion Posted: Wed Sep 14, 2005 5:42 am Subject: RS232 I cant receive at 230400 bauds |
Though it will cost a small amount in power, using the H4 fuse, would solve this.
In this case, does he need to increase the clock freq. to 4 MHz or greater?
Thank you.
Paolo. |
Topic: Problem with ADC input |
Paolino
Replies: 3
Views: 5992
|
Forum: General CCS C Discussion Posted: Wed Jun 22, 2005 2:51 am Subject: Problem with ADC input |
Add
#device adc=10
if you want to read 10 bit analog signals.
Best regards.
Paolo. |
|