Author |
Message |
Topic: USB slow rates |
leto
Replies: 0
Views: 3637
|
Forum: General CCS C Discussion Posted: Fri Nov 17, 2006 4:00 pm Subject: USB slow rates |
Hi,
I'm usign a PIC18F4550 at full-speed USB. I compiled the bulk transfer example with a little changes in order to measure the speed rates and it is about 88kpbs. (330000 bytes in 30 seconds).
... |
Topic: strange behavior of int32 Array |
leto
Replies: 1
Views: 3784
|
Forum: General CCS C Discussion Posted: Tue Aug 08, 2006 4:00 pm Subject: strange behavior of int32 Array |
Hi,
I have a problem using int32 arrays. I want to load an array each time #int_ext is executed. Then, I print it pressing RB7.
If I use a variable as index as in program below it doesn't work. ... |
Topic: counter1 question |
leto
Replies: 2
Views: 4476
|
Forum: General CCS C Discussion Posted: Sat Jul 22, 2006 8:16 pm Subject: counter1 question |
Hi,
I want to use two external counters through timer0 and timer1.
I have a PIC18F452 with RA4 and RC0 pull-down through 10k resistors to GND. I want to count every rising edge of the external clo ... |
Topic: Checking simultaneous events |
leto
Replies: 9
Views: 12784
|
Forum: General CCS C Discussion Posted: Mon Apr 03, 2006 4:22 pm Subject: Checking simultaneous events |
Sorry, the input signal is a 5v pulse and it occurs when somebody cut the beam of each sensor. I'll have 12 sensors and its could interrupt each 10ms aprox. I need to detect each interrupt of each sen ... |
Topic: Checking simultaneous events |
leto
Replies: 9
Views: 12784
|
Forum: General CCS C Discussion Posted: Mon Apr 03, 2006 4:10 pm Subject: Checking simultaneous events |
Yes, I say "real time" because this events can occurs simultaneously, so I think it would be a hardware solution instead of some kind of software loop checking input ports.
About 74HCXX's chips, I ... |
Topic: Checking simultaneous events |
leto
Replies: 9
Views: 12784
|
Forum: General CCS C Discussion Posted: Mon Apr 03, 2006 2:35 pm Subject: Checking simultaneous events |
Hi,
I need to check the status of between 12 or 16 events of infrared barriers sensors. This must be in real time and all of them can appear at the some time.
Then, I'll fire an alarm if the amou ... |
Topic: Sine wave |
leto
Replies: 5
Views: 7181
|
Forum: General CCS C Discussion Posted: Mon Jan 23, 2006 10:29 am Subject: Sine wave |
Hi,
I have made a sine wave from a PIC16F628 and a DAC0808. My problem is that it is (0-5V) range sine wave and I need an AC sine wave (-2.5v, +2.5v).
Im trying to test the inductive properties ... |
Topic: Timer1 and milliseconds |
leto
Replies: 18
Views: 19598
|
Forum: General CCS C Discussion Posted: Wed Sep 07, 2005 9:13 am Subject: Timer1 and milliseconds |
Hi,
I am trying to make a chronometer. I am using timer1 each a millisecond, but he is not very exact.
#define COUNTER1 60585
setup_counters(RTCC_INTERNAL,RTCC_DIV_1);
set_rtcc( ... |
Topic: Int32 problem |
leto
Replies: 14
Views: 13368
|
Forum: General CCS C Discussion Posted: Tue Aug 09, 2005 7:04 pm Subject: Int32 problem |
Hi,
I think I have a conversion problem. I just want to fill a int32 array named "test" with external eeprom data. When it dont get me the correct values I tried with a flat variable "tmp" and it ... |
Topic: RAM problem |
leto
Replies: 1
Views: 5076
|
Forum: General CCS C Discussion Posted: Mon Aug 08, 2005 2:45 pm Subject: RAM problem |
Hi,
My program has a "not enough RAM for all variables". But just when I put a comment "//" in char k definition (1st of main) instead of when I get out this comment. I guest when i put a comment ... |
Topic: Ponter to Constant |
leto
Replies: 7
Views: 9014
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2005 11:02 am Subject: Ponter to Constant |
thank you again.
Im trying to improve the GlcdText57 function from graphics.c driver.
It receive a char pointer with the string to print, then it print each byte.
But, you must to declare the bu ... |
Topic: Ponter to Constant |
leto
Replies: 7
Views: 9014
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2005 9:39 am Subject: Ponter to Constant |
Thank you. i'll try as you say. But, I ask me how will the compiler do to compile printf("Hello world").
thanks anyway. |
Topic: Ponter to Constant |
leto
Replies: 7
Views: 9014
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2005 8:39 am Subject: Ponter to Constant |
Hi,
I want to create a function like this.
void PrintStr( char *StringData )
{
}
When I perform this function: PrintStr("Hello World"), the compiler say:
Attempt to create a pointer to ... |
Topic: EEPROM PROBLEM |
leto
Replies: 3
Views: 7179
|
Forum: General CCS C Discussion Posted: Tue Aug 02, 2005 12:57 pm Subject: EEPROM PROBLEM |
Hello,
I'm using 24256.c driver to read a previously saved content on IC eeprom. I use the read_ext_eeprom function but sometimes it read ok and sometimes it read dirty characters.
I'm readling 2 ... |
|