background image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H

H

H

o

o

o

w

w

w

-

-

-

t

t

t

o

o

o

 

 

M

M

M

a

a

a

n

n

n

u

u

u

a

a

a

l

l

l

 

T

T

T

e

e

e

s

s

s

t

t

t

 

 

 

P

P

P

r

r

r

o

o

o

c

c

c

e

e

e

d

d

d

u

u

u

r

r

r

e

e

e

 

 

 

Содержание EDU 05

Страница 1: ...H H Ho o ow w w t t to o o M M Ma a an n nu u ua a al l l T T Te e es s st t t P P Pr r ro o oc c ce e ed d du u ur r re e e...

Страница 2: ...S 7 2 INSTALL THE TEST PROGRAMS 7 3 TESTING THE TEST PROGRAMS 8 3 1 TESTING WITH THE GRAPHICAL DEMO 8 Showing the binary value of the pressed button 9 3 2 TESTING WITH THE TEST DIAGNOSE DEMO 10 What w...

Страница 3: ...2010 Version 1 0 3 This manual teaches you how to master the USB connection with the PC Search for reference code on YouTube 1 What s on the board All the inputs and outputs are on the board G GE EN...

Страница 4: ...he LEDs will light up in sequence LD1 and LD2 are digital inputs Press each button and check the LCD readout to check if the board functions correctly Press button 1 7 one after the other When you pre...

Страница 5: ...button 6 This shows you the value of the temperature dependent resistor NTC The resistance of this type of resistor varies with the temperature When the temperature goes up the value of the resistor...

Страница 6: ...6 3 Testing the communication with the PC Press button 8 to start the communication with the PC The LCD shows the message CONNECTING When the connection has succeeded the display indicates USB CONNEC...

Страница 7: ...luded In your current projects folder it can be handy to copy this file to your windows system32 folder GraphicalDemo Contains the graphical demonstration and test program See chapter 4 TestDiagnosis...

Страница 8: ...he graphical demo reproduces an image of the board on your screen First click the Connect button to connect the board with the software Next perform the same test as described in chapter 2 Testing the...

Страница 9: ...ction click once to switch on click again to switch off S Sh ho ow wi in ng g t th he e b bi in na ar ry y v va al lu ue e o of f t th he e p pr re es ss se ed d b bu ut tt to on n When you switch on...

Страница 10: ...shown on the screen Output selected each action you make in the software screen is shown on the board 3 Analog In The bars indicate changes in the values of the potentiometers LDR NTC and temperature...

Страница 11: ...tup Demo Disconnect the software Disconnect the USB cable of the board When you re connect the USB cable you ll see that demo has been disabled Enable the demo Connect the USB cable with the board PC...

Страница 12: ...library sh9ywfdk aspx Getting Started Tutorials http msdn microsoft com en us library dd492171 aspx Visual Basic http msdn microsoft com en us library 2x7h1hfk aspx Book Microsoft Visual Basic 2008 Ex...

Страница 13: ...st procedure programming in Visual Basic 2010 Version 1 0 13 STEP7 Locate and select Read_Button sln and click Open STEP8 In the Solution Explorer double click Form1 vb to show the form editor if not...

Страница 14: ...EDU05 Test procedure programming in Visual Basic 2010 Version 1 0 14 STEP9 In the Solution Explorer click the View Code button to show the code editor STEP10 Click the Debug button to run the code...

Страница 15: ...r this button Dim i As Integer i ReadAllDigital check the individual bits of i to detect the pressed buttons If i And 1 0 Then Label3 Text SW1 Pressed Else Label3 Text SW1 Released If i And 2 0 Then L...

Отзывы: