Search found 40 matches

by Tanky321
27 Aug 2010 12:17
Forum: Development Boards
Topic: EP5 PIC Timing issue?
Replies: 3
Views: 1562

Re: EP5 PIC Timing issue?

Hello! Sorry for the late reply. I have attached a C file and a hex file of a 18F4520 program that I have used in the past. The program reads inputs from B0 and B1, and increments a 7-seg display accordingly, its basically just the MikroE program slightly modified. This program ran fine before, and ...
by Tanky321
24 Aug 2010 18:32
Forum: Development Boards
Topic: EP5 PIC Timing issue?
Replies: 3
Views: 1562

EP5 PIC Timing issue?

Hi, I have an EasyPIC5 board which has begun to act strange recently. I have been trying to program a 16f877, but I keep running into issues. It programs successfully according to PICFLASH, but it wont physically do anything. I have tried this with known working code and it seems as if there is some...
by Tanky321
21 Sep 2009 21:40
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

If you mean the one with the flashing LEDS that one seemed to work correctly.
by Tanky321
21 Sep 2009 21:39
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

Im not sure which code you mean? Did you send an email or PM or something?


Thanks
by Tanky321
21 Sep 2009 13:15
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

Anyone?
by Tanky321
16 Sep 2009 02:18
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

It looks like you have a 1 second delay after you 1 byte of the uart which wouldkeep you from receiving any other characters. I'll try to play with your code again later. Im a little confused as to what your saying? Im not sure which delay your talking about. I ended up getting my USB to RS232 conv...
by Tanky321
07 Sep 2009 16:19
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

Thanks for the replies! Il be trying this soon, I ended up installing Ubuntu on my desktop forgetting that I needed it for the UART terminal! I ended up ordering a USB to RS232 connector, so I will let you guys know how I make out soon.
by Tanky321
28 Aug 2009 16:56
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

This is killing me, I cant get anywhere. Ive hooked the receiver to the Terminal and I get no response what so ever. I send the values separately and together and I get no response. I figured I would clear the RCREG at the end of the loop, but im just kinda shooting from the hip. Any other insight i...
by Tanky321
27 Aug 2009 18:25
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

This did in fact end up working, im going to try and see if I can figure anything out with my actual code. Il post the results.



Thanks again!
by Tanky321
26 Aug 2009 22:46
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

I've been messing around with this some more, and havent gotten any where. the only thing i can think is that my device flags are not set right. What I have set is: WDT_OFF MCLRE_OFF INTOSC_OSC_NOCLKOUT Im not sure if Im missing anything, or if I shouldnt have one of these checked off. Thanks
by Tanky321
21 Aug 2009 20:06
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

Thank you very much, I really appreciate all of your help!!
by Tanky321
21 Aug 2009 19:48
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

The loopback works, if I send and A I get back an A, but if I send an "a" I get "aaaaaaaa" back.

Also the light wont flash if "A" is sent?


Thanks for your time!!
by Tanky321
21 Aug 2009 19:07
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

Thats what I meant, came out wrong... :oops: Ive been messing with this all morning and im still in the same place. I only used one 1s delay, because I dont want a delay in between the port changes. Now Im getting warmer, before I couldnt get the ports to initialize correctly, now PORTA is high and ...
by Tanky321
21 Aug 2009 15:30
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

The basic idea is to have 8bits high at all times, and then the status of PORTA that is transmitted will kind of be an inverted binary number eg- 1110 for 1 1101 for 2 1100 for 3 etc etc So by saying PORTA = 1 that only sets PORTA.F1 to 1? So the default output of PORTA would be 0001? Thank you for ...
by Tanky321
21 Aug 2009 03:53
Forum: mikroC General
Topic: Pic to Pic Usart
Replies: 45
Views: 20532

Man, I never noticed that. They helped out greatly on the transmitter it works perfect.

Tx transmits: 49 49 65 PORTA 66 35

The receiver although, not as lucky. Is it necessary to call Usart_Data_ready before each number? Or am I sending those as one combined number?


Thanks again.

Go to advanced search