zhenhan82
Newbie level 2

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!
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!