Search found 71 matches

by spookyrufus
27 Nov 2008 00:43
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

Thx

thanks man your solution really did the trick I tried it today and everything was fine.
Thanks again Ill be gracefull forever :D :D :D
by spookyrufus
24 Nov 2008 18:18
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

:D

Thanks. Great job.
You mean, even if there's an instruction to do that, the buf_size var is not initialized to zero?
Sounds weird.

BTW, thanks, i really appreciate I hope one I'll give it back to you :)
by spookyrufus
23 Nov 2008 22:09
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

:D

I didnt want to hurt you :D I just wanted to keep my idea :) I'm sorry probably I should have explined better :)

Mille scuse!
by spookyrufus
23 Nov 2008 09:37
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

!

This seems a very nice idea.
Sounds more like a workaround than a solution, but I'll give it a try :D
In the meanwhile, if someone knows something more bout my problem, I'm here, wide eyes, reading carefully every line u write here :D
by spookyrufus
22 Nov 2008 14:50
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

!

xor.....where are you? :D :D :D Let's not consider at all the function update_Gauge. ALL I want to do is receiving an integer number through USART. Nothing more. 1) Id want to send this number via SerialTerminal in windows 2) Id want to receive something on my PIC 3) Id want to handle this 'somethin...
by spookyrufus
22 Nov 2008 09:46
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

?

I don't think its a problem related to atoi. Manual states "....the string will be processed one character at a time, until the function reaches a character it doesn't recognize (this includes a null char)". BTW I don't think my code will produce anything but digits in the resultin string. As u can ...
by spookyrufus
21 Nov 2008 11:38
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

!

The returning buf_size is the lenght of the array I'll have to handle outside the function. all MikroE Examples working perfectly. Here's my not-working code: #define ESCAPE_CHAR '#' void main(){ char buffer[16]; int val=0,number; Usart_Init(56000); while(1){ val=get_USART_buf(buffer); number=atoi(b...
by spookyrufus
21 Nov 2008 00:20
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

oki

Yeap ure right! Tomorrow Ill post entire piece of code handling the USART.
Thanks guys I think this is the forum on which I find myself most comfortable.
by spookyrufus
20 Nov 2008 19:39
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

?

I wanted to use this particular function as i seems to me that this code should work correctly. The thread u point me to shows a solution usin interrupts and other stuff I dont want to use. Yeap I should have written this earlier :) Thanks btw, any other help would be appreciated
by spookyrufus
20 Nov 2008 18:17
Forum: mikroC General
Topic: Usart Communication help needed
Replies: 23
Views: 7608

Usart Communication help needed

Hi Everybody, I'm realizing an instrument panel to be interfaced with Microsoft Flight Simulator. While I'm not havin problems for the PC-side programmin section, the Usart Communication on PIC is making my head hurt :) Briefly, I just want to receive one integer number through the serial interface....
by spookyrufus
17 Jun 2008 20:35
Forum: mikroC General
Topic: FREE Servo RC Controller code [ALMOST WORKING]
Replies: 49
Views: 19605

This vanishes my need of an oscilloscope (for now).My heart beats at 8Mhz now :D
Great. Thanks xor, I think this entire community shuld be graceful to you.
by spookyrufus
14 Jun 2008 17:59
Forum: mikroC General
Topic: FREE Servo RC Controller code [ALMOST WORKING]
Replies: 49
Views: 19605

GREAT

Oh great I figured out how todo that myself. These are the modifications needed in order to run xor's code onto a PIC 16F877A: this piece of code: ANSEL = 0 ; // disable adc's ANSELH = 0 ; // disable adc's CM1CON0 = 0 ; // disable comparators CM2CON0 = 0 ; // disable comparators will become: ADCON1 ...
by spookyrufus
14 Jun 2008 17:44
Forum: mikroC General
Topic: FREE Servo RC Controller code [ALMOST WORKING]
Replies: 49
Views: 19605

thanks

Thanks xor. I really cant believe I was reading 877 instead of 887 for all this time.
I've seen on the Datasheet that on the 877, the CCPR1 has the same address of the 887.

If you can post the list of modifications needed to run your code onto this mc.... that would be great!
by spookyrufus
14 Jun 2008 17:36
Forum: Development Boards
Topic: Devboard gone mad
Replies: 14
Views: 4203

solved

Solved. For some reasons, there was selected the Low Voltage Programming flag, which made the whole thing behave like described. I don't know why, but changing this setting did the trick. If someone know the explanation, I opened a post in the MikroC section (this because I saw the problem first bec...
by spookyrufus
14 Jun 2008 17:24
Forum: mikroC General
Topic: Low voltage programming
Replies: 1
Views: 1654

Low voltage programming

What is low voltage programming and WHY when this is selected, my MikroC programs will work as usual EXCEPT for RB3 pin?

Go to advanced search