PDA

View Full Version : SERIN & SEROUT to combine subroutine switch (SW1) and LED to use in Serial



yyusof
- 1st April 2014, 12:03
In Summary:
Need PBP3 code @ advice to combine the subroutine, future will combine with VB6/VB.net
I’ll share the result when completed successful soon

Hint: PBP3, Proteus, Eltima Virtual Serial, PIC16F877A

…SW1 and LED connected to PIC…
From Keyboard user can control LED ON/OFF by press certain character been set. All character will appear in Virtual Terminal Message IN through RC7/Rx – Subroutine successful tested
http://imageshack.com/a/img856/729/ahs0.png


From PIC when SW1 pressed the status “SW1 Press” will appear in Virtual Terminal Message OUT through RC6/Tx – Subroutine successful tested
http://imageshack.com/a/img812/4449/luoj.png

(http://imageshack.com/a/img812/4449/luoj.png)PBP code + Proteus Circuit:
http://www.4shared.com/folder/3rTFSJUR/VB_PIC.html

Demon
- 5th April 2014, 15:46
Have you read through this?

http://www.picbasic.co.uk/forum/showthread.php?t=5418

Robert

yyusof
- 6th April 2014, 05:23
Sir,

Thanks, i'll diligently go through it