Author |
Message |
Topic: A math formula in AD |
sf
Replies: 6
Views: 7674
|
Forum: General CCS C Discussion Posted: Tue Sep 28, 2010 10:17 am Subject: A math formula in AD |
Thank you both for this great help.
@Ttelmah
The adc is from 0 to 1023 I´m thinking in another value.
My mistake is when i put 1 to 1024, i´m was thinking to add 1 to the adc readin ... |
Topic: A math formula in AD |
sf
Replies: 6
Views: 7674
|
Forum: General CCS C Discussion Posted: Tue Sep 28, 2010 9:19 am Subject: A math formula in AD |
Hi,
Today isn´t a real good day for me, i have been stucked in a math formula, that i can´t realise, well vacations is need........
But if anybody can help me.....thanks in advance.
The for ... |
Topic: 18f1330 INT_RDA problem. |
sf
Replies: 1
Views: 3922
|
Forum: General CCS C Discussion Posted: Sat Jan 30, 2010 2:59 pm Subject: 18f1330 INT_RDA problem. |
Hi, I'm trying to make this:
#include <18F1330.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:128 Postscal ... |
Topic: Comunication PIC->PIC->PC |
sf
Replies: 0
Views: 2365
|
Forum: General CCS C Discussion Posted: Wed May 27, 2009 3:47 pm Subject: Comunication PIC->PIC->PC |
Hi,
I have a pic24 (compiler C30) with an SDCard.
In the middle a pic18F (USB HID) with CCS C.
They are connected like this:
PIC24 <------(rs232)------>PIC18<-----(USB HID)-------> ... |
Topic: PORTb Int_ext0 & OUTPUT_B(x) doubt? |
sf
Replies: 1
Views: 5203
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 6:24 pm Subject: PORTb Int_ext0 & OUTPUT_B(x) doubt? |
Hi, I have the next:
On PortB B0 is used for an external interrupt(Pull-up installed).
B1 to B7 to a 7 segments display.
I have made the next "declarations":
#use fast_io(b)
and i ... |
Topic: Time difference with ds1302[RESOLVED] |
sf
Replies: 6
Views: 5679
|
Forum: General CCS C Discussion Posted: Sun Jun 29, 2008 3:28 am Subject: [RESOLVED] |
if I had done like you, introduced the values directly, I will don´t had this error , i put the values, directly into the code, and it works fine.
So it´s my mistake on introduction the values. ... |
Topic: Time difference with ds1302[RESOLVED] |
sf
Replies: 6
Views: 5679
|
Forum: General CCS C Discussion Posted: Sat Jun 28, 2008 3:35 am Subject: Time difference with ds1302[RESOLVED] |
Hi, i´m on a project that need to know the total time that a motor is working,
but my problem is when:
Start date/hour: 2008/06/30 23H 00m 00s
End date/hour: 2008/07/01 1H 00m 00s
The differen ... |
Topic: Send image to LCD? |
sf
Replies: 2
Views: 3932
|
Forum: General CCS C Discussion Posted: Sat Jan 26, 2008 8:25 am Subject: Send image to LCD? |
Hi, to send a image i use this in lcd driver:
(using the GCLCD TODOPIC generator)
void Lcd_image(int x, int y, int16 * img)
{
Int16 col, row, pWidth, pHeight;
pWidth =im ... |
Topic: timer´s calc????? |
sf
Replies: 3
Views: 4764
|
Forum: General CCS C Discussion Posted: Mon Jul 02, 2007 3:15 am Subject: timer´s calc????? |
Hi, can you help´me with timer´s interrupt´s?
Let´s take the next example:
Fosc=20Mhz
Timer0 - Internal and Presc=X
There is any formula to calc when the timer0 will interrupt in mSec. acc ... |
|