Continue to Site

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.

need help for basic interfacing of a circuit in VB

Status
Not open for further replies.

asi2k7

Banned
Newbie level 6
Joined
Aug 2, 2005
Messages
11
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
0
i write a c-program for circuit (c-program and circuit are)given below to control it i want to control it by VB
help me how can i do



c-program
#INCLUDE<DOS.H>
#DEFINE BASE 0X378
VOID MAIN()
{
OUTPORTB(BASE,255)
}


THIS PROGRAM SEND A BYTE OF DATA TO THE PORT ADDRESS 0X378
DATA IS 11111111=255
AND I USE THIS DATA FOR ELECTRONIC INTERFACING CIRCUIT WHICH CONTAIN
LED TO LIGHT UP
 

In windows you can't control port directly.You must use an interface file called "inpout32.dll".Searc for it on the net.Then you can import it into your app. and use functions defined in that file.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top