Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

vb interfacing with micro-controller

Status
Not open for further replies.

zhenhan82

Newbie level 2
Joined
Sep 16, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
Dear all,

i have a problem that i couldn't solve! i am on a school project related to vb interfacing with micro-controller. the idea is, in my vb program, there will be a few buttons, on click, it will run some peripherals controlled by the micro-controller(Renesas H8S/2377). so in the embedded C program i have a switch case, for example, 1 to run printer peripheral, 2 to run motor..

the issue now is when i do not know how to write the send n receive part. it seems that the vb side sends a character "1" to micro-controller but it does not activate any peripherals. perhaps it couldnt read the character sent..


Can someone advise me on this problem..
Thanks a million!
 

boram69

Member level 1
Joined
Jan 6, 2002
Messages
41
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
212
Refer to Follow site
 

vijaya_narayana

Full Member level 3
Joined
Jun 12, 2007
Messages
172
Helped
11
Reputation
22
Reaction score
1
Trophy points
1,298
Location
India
Activity points
2,158
if the problem is with the micro controller then check weather u have an look up table for the the characters sent by the VB application.or else just compare teh received value and try to control the peripherals
 

zhenhan82

Newbie level 2
Joined
Sep 16, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
hi,


the following site you refer to me has already been taken out!




Han
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top