Thaiio.com

Thaiio is the best of PC interfacing Electronic Hardware and Devices resource.

Today , 2007
May 1st, 2008

Programming in Visual Basic to connect I2C Bus through Serial Port

After studying about communication with data or controlling output devices through Serial Port. In this part, We will learn about programming by Visual Basic through Serial Port for using programming to communicate with Bus system I2C (Inter Integrated Circuit ). You can find more information here http://www.esacademy.com/faq/i2c/.

Why do you have to use this system? Because there will be communication between IC and Module that can order or communicate in many and a long distance that have receiver and sender, the main module or Master to control all working in the system. For another module that is Slave will be controlled. The working of couple modules in this system, will be controlled by 2 signal lines, they have data line and signal line clock in order to use in setting rhythm of working. For taking devices or modules to connect in this system, it can be done by taking module to parallel, will use pressure level of electrical resource in each module will not be equal. Read the rest of this entry »

May 1st, 2008

Creating DLL file by Borland Delphi, connecting IO Parallel Port

As we know that VB can’t program to connect through Parallel Port directly. In the book, there will be explanation that we create DLL files that can write by using whatever language that has the function connecting to port. This website I have ever presented programming by C++, using Inp function for getting value along port and out is sending value out along port.

So now, we will introduce creating DLL file (Dynamic LInk LIbrary) by Borland Delphi, using Assembly programming to help for connecting through port by using the function of Assembly.

IN AL,DX

Get value at port’s position according to value in DX that is kept at AL

OUT DX,AL

Send value in AL to port’s position according to value in DX

Read the rest of this entry »

May 1st, 2008

Writing DLL file by Visual C++ 6, connecting IO Parallel Port

We can’t program by using Visual Basic, then connecting through Parallel port directly. We have to create DLL (Dynamic LInk LIbrary) file in order to borrow function connecting I/O port of the other languages to use. We can program by using functions that can connect port. In this article, I will present programming by C++ first. For someone who likes to program by Borland Delphi, click here. Let’s begin program DII file by MS VC++6 by using function connect with Input and Output of port like this,

  1. _Inp that is function that will read value from input port’s position that has the function like this,

_Inp = read value as byte, we will set function name in order to be use in VB- - - > inpVB

_Inpw = read value as word, we will set function name in order to be used in VB - - - > inpwVB

_Inpd = read value as double words, we will set function name in order to used in VB - - - > inpdwVB Read the rest of this entry »

|
cheapest online diazepam 24 hour delivery cheap levitra rx pills buy lorazepam cheap cialis buy cheapest generic valium purchase new report female zyban order oxazepam prescription cheapest generic xanax viagra order herbal klipal for woman levitra buy drugs online buy herbal tramadol cialis soft tabs levitra cialis best herbal viagra soft tabs uk cialis buy viagra on line viagra levitra women buy cialis online without prescription natural levitra substitutes cheapest generic viagra cyber pharmacy propecia viagra soft tabs studies women
Close
E-mail It