Search found 19 matches
- 02 Nov 2008 20:41
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: Compiler error
- Replies: 3
- Views: 2951
- 31 Oct 2008 14:14
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: Compiler error
- Replies: 3
- Views: 2951
- 31 Oct 2008 14:07
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: Compiler error
- Replies: 3
- Views: 2951
Compiler error
Hi I have this code for a recursive FFT/IFFT algorithm, the thing is this code compiles fine under Borland C++ compiler but when I try to port it to MikroC it gives me a bunch of internal error messages. When I click the error it takes me to the fft_rec(N ,0, 1, x, X, XX) function call, I dont know ...
- 27 Oct 2008 22:10
- Forum: mikroC General
- Topic: Complex data types in MikroC
- Replies: 4
- Views: 2062
thanks for the info, but can you be a bit more specific..sorry, it must seem like I am retarded..but I dont quite understand. say I want to compute: exp(j*2pi) I would I go about it: exp(j*2pi)=cos(2pi) +jsin(2pi), so the real part would be cos(2pi) and the imaginary sin(2pi) how would I multiply th...
- 27 Oct 2008 17:04
- Forum: mikroC General
- Topic: Complex data types in MikroC
- Replies: 4
- Views: 2062
Complex data types in MikroC
Hi
Can I use complex numbers in mikroC? How would I go about using complex numbers? i.e a + b*I where I=sqrt(-1) is this possible? I am new to programming and really need help
Can I use complex numbers in mikroC? How would I go about using complex numbers? i.e a + b*I where I=sqrt(-1) is this possible? I am new to programming and really need help
- 27 Oct 2008 17:00
- Forum: mikroC General
- Topic: Float to binary?
- Replies: 2
- Views: 1515
- 27 Oct 2008 11:01
- Forum: mikroC General
- Topic: Float to binary?
- Replies: 2
- Views: 1515
Float to binary?
Hi I want to send float values to a DAC(mcp4822). But the thing is I see the DAC expect a 16 bit number where 4 bits are control bits, so that means the DAC accepts a 12 bit number at a time. I dont know if I am understanding this correctly. So what I want to do is, break the float which is 4 bytes ...
- 23 Oct 2008 07:59
- Forum: mikroC General
- Topic: write to text file
- Replies: 4
- Views: 2082
- 22 Oct 2008 13:28
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: Complex numer
- Replies: 4
- Views: 4625
Complex numer
Hi
Can I use complex numbers in mikroC? How would I go about using complex numbers? i.e a + b*I where I=sqrt(-1) is this possible? I am new to programming and really need help
Can I use complex numbers in mikroC? How would I go about using complex numbers? i.e a + b*I where I=sqrt(-1) is this possible? I am new to programming and really need help
- 22 Oct 2008 13:25
- Forum: mikroC General
- Topic: write to text file
- Replies: 4
- Views: 2082
- 12 Oct 2008 23:58
- Forum: mikroC General
- Topic: write to text file
- Replies: 4
- Views: 2082
write to text file
Hi
Is there a way to write data to a text file, I see that the fopen syntax from C doesn't work unless I'm doing something wrong? I have an array that I would like the data of to be written to a text file
Is there a way to write data to a text file, I see that the fopen syntax from C doesn't work unless I'm doing something wrong? I have an array that I would like the data of to be written to a text file
- 07 Oct 2008 20:43
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: 10-point FFT
- Replies: 8
- Views: 5551
- 15 Sep 2008 17:42
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: 10-point FFT
- Replies: 8
- Views: 5551
Hi I am trying to implement a qpsk modulator on the dsPIC, where the input to the pic is rs232 which is 8 bit. I map the inputs 00, 01, 10, 11 to 1+j,1-j,-1+j,-1-j. I then have to IFFT the data which at the moment is 4 points but doesn't give real data to the ifft output. To fix this I add 2 dummy z...
- 11 Sep 2008 20:08
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: 10-point FFT
- Replies: 8
- Views: 5551
- 11 Sep 2008 12:39
- Forum: mikroC for dsPIC30/33 and PIC24 General
- Topic: 10-point FFT
- Replies: 8
- Views: 5551
10-point FFT
Hi
I have to implement a 10-point fft on a dsPIC, what would be my best bet as I see that the built in fft function only accepts sizes of N that are a power of 2. has anyone written this type of source code or could someone send me in the right direction please..
thanks in advance
I have to implement a 10-point fft on a dsPIC, what would be my best bet as I see that the built in fft function only accepts sizes of N that are a power of 2. has anyone written this type of source code or could someone send me in the right direction please..
thanks in advance