Author |
Message |
Topic: Convert 32byte to 8 byte |
neurus
Replies: 6
Views: 7557
|
Forum: General CCS C Discussion Posted: Wed Dec 14, 2005 8:49 am Subject: Convert 32byte to 8 byte |
hi
thank very much. Just what I looked for!
Aloha |
Topic: Convert 32byte to 8 byte |
neurus
Replies: 6
Views: 7557
|
Forum: General CCS C Discussion Posted: Wed Dec 14, 2005 8:02 am Subject: Convert 32byte to 8 byte |
hi
I want to convert a variable with 32 bytes into 4 variables with 8 bytes, because I've to save the data into the eeprom.
I'm working with a Pic 18F252 and CCS.
Thank you
Pablo |
Topic: Compiler Error |
neurus
Replies: 1
Views: 5190
|
Forum: General CCS C Discussion Posted: Wed May 18, 2005 12:20 am Subject: Compiler Error |
hi
I've the following code
void listo_enviar(void)
{
do
{
putc(modbus.txData[Buffindex]);//line 53
++Buffindex;//line 54
}
w ... |
Topic: RS232 for PIC 16F819 |
neurus
Replies: 3
Views: 8265
|
Forum: General CCS C Discussion Posted: Wed May 18, 2005 12:15 am Subject: RS232 for PIC 16F819 |
hi SherpaDoug
thank you for your answer. I want to connect 2 Pic's through the RS232. Both Pic's doesn't have Hardware UART, therefore I'm looking for a subroutine to send and other to receive data ... |
Topic: Problem with Update from PCM to 3.224 |
neurus
Replies: 4
Views: 10482
|
Forum: General CCS C Discussion Posted: Tue May 17, 2005 11:01 pm Subject: Problem with Update from PCM to 3.224 |
hi
thanks PCM programer. It's so, if you are saying, but it's not possible that everytime I want to use the PCM software, I have to reinstall it and when I want to use the PCH software, I have to r ... |
Topic: RS232 for PIC 16F819 |
neurus
Replies: 3
Views: 8265
|
Forum: General CCS C Discussion Posted: Tue May 17, 2005 5:22 am Subject: RS232 for PIC 16F819 |
hi
I'm looking for an code example for the RS232 Communication with a 16f819. This Pic hasn't an UART.
Can help me everybody?
Thanks
Pablo |
Topic: Problem with Update from PCM to 3.224 |
neurus
Replies: 4
Views: 10482
|
Forum: General CCS C Discussion Posted: Tue May 17, 2005 4:00 am Subject: Problem with Update from PCM to 3.224 |
hi
I've updated my PCM Compiler to the version 3.224. I can compile the 16F.. without problem.
At the moment I'm working with the PCH Compiler for the PIC 18F252 and after the update from PCM Com ... |
Topic: Division 2 16Bits Integer with remainder? |
neurus
Replies: 10
Views: 15958
|
Forum: General CCS C Discussion Posted: Tue Apr 19, 2005 2:37 am Subject: Division 2 16Bits Integer with remainder? |
hi
I'm the guest!!
I've obteined a difference beetwen float and integer division from 0.02 on the display. Why is it so?
the difference is about 0.2 and not 0.02.
Sorry
Thanks Pablo |
Topic: Division 2 16Bits Integer with remainder? |
neurus
Replies: 10
Views: 15958
|
Forum: General CCS C Discussion Posted: Tue Apr 19, 2005 12:08 am Subject: Division 2 16Bits Integer with remainder? |
hi
thank you very much for your answers. I will test your recommendations.
What about floating point? What do you mean? Is it better, if I calculate the division with integer or float digits?
... |
Topic: Division 2 16Bits Integer with remainder? |
neurus
Replies: 10
Views: 15958
|
Forum: General CCS C Discussion Posted: Mon Apr 18, 2005 7:01 am Subject: Division 2 16Bits Integer with remainder? |
Hi
I want to divide two 16Bits Integer digits and shown it on the display with 2 digits after the comma ( remainder ). F. e.:
Result = int1 * 100 / int2
The division has to be as exactly as p ... |
Topic: Averaging or filtering? |
neurus
Replies: 2
Views: 5191
|
Forum: General CCS C Discussion Posted: Sun Feb 20, 2005 2:08 pm Subject: Averaging or filtering? |
hi
In my project I have to make an art integration time. I've an ADC, wich gib me every 0,5 second a value. The integration time goes from 0 to 60 seconds. How can I do to sample the values and calcu ... |
Topic: integration of values from ADC |
neurus
Replies: 4
Views: 7384
|
Forum: General CCS C Discussion Posted: Tue Feb 01, 2005 6:31 am Subject: integration of values from ADC |
hi
how can I implement the trapezoidal rule for a Pic 18f252? Can help me anybody?
Thanks
Pablo |
Topic: integration of values from ADC |
neurus
Replies: 4
Views: 7384
|
Forum: General CCS C Discussion Posted: Tue Feb 01, 2005 4:07 am Subject: integration of values from ADC |
hi
I've to do an integrator from 0 to 60 sec. Every 0,5 sec I get a new value from ADC. Doe's anybody have any idea?
I'm working with CCS and Pic 18f252.
Thanks
pablo |
Topic: SPI + AD7705 |
neurus
Replies: 3
Views: 7578
|
Forum: General CCS C Discussion Posted: Thu Jul 01, 2004 12:39 am Subject: SPI + AD7705 |
hi SteveS
thank you for your answer. I will test your recommendation.
Aloha Pablo |
Topic: RS232 communication with Modbus Protocol Interrupt problem!! |
neurus
Replies: 5
Views: 15623
|
Forum: General CCS C Discussion Posted: Mon Jun 21, 2004 12:44 am Subject: RS232 communication with Modbus Protocol Interrupt problem!! |
hi
Thaks for you answer.
@Neutone
I guess, that my problem is a time problem. At the moment I'm triyng to write the code for the Master Pic. As soon I'm finished with them, I can tell you, if i ... |
|