kobre98
Full Member level 2
- Joined
- Sep 18, 2011
- Messages
- 145
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,296
- Location
- Gaza, Palestine
- Activity points
- 2,523
which micro controller which IDE yo are using .it can easily be done in c coding
which micro controller which IDE yo are using .it can easily be done in c coding
Ask Aameer
By the way, The picture given by you is not complete. Why are you using RX, TX both?
following you circuit schematic
Bascially, the idea behind it is a "scrolling point" buffer (I've had 30 years of using them!)... I am unfamiliar with MCStudio, I only have experience in the MPLAB IDE based system using C really at the moment for my base level programming enviroment. In any languge, if you can create an indexed buffer, keep a pointer of the "next position", then when a character comes in, put it in the buffer and increment the counter... The &=63; of the counter makes it return to zero, never hitting 64, effectively looping round and restarting... Any functions reading the data will need to start at the buffer-scroll position, and work in a similar circular manor, basically you can write code to look for anything in the sequence, but unfortunately I only know a limited range of tools....
Best regards, good luck mate
NEAL
---------- Post added at 01:36 ---------- Previous post was at 01:25 ----------
I'm in GMT timezone, it's 1.30AM here !I'll help anytime if I can, but may well be sleeping soon... I'm interested to know how you get on, have fun always!
NEAL
hello
following you circuit schematic
I suppose you are working only in simulation mode !
because interface MAX232 is missing beetwen PIC UART and DB9 RS232 port
Also you did'nt connect the Gnd pin 5 of DB9 !
Can you send only one caractere or receive one caractere with your actual circuit ?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?