|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Microsoft Comm Control 6.0
Hello,
BACKGROUND - I've made a little circutboard with 6 little buttons on it 6 diodes one resistor and a Bi-Colour LED and have solderd it to a serial port cable....... using three inputs, IN-1 IN-2 IN-3, one PWR and one GND to make a remote control sorta thing... OBJECTIVE- Using the remote i wish to make a VB program to change what buttons mean and do...... e.g. Using it to skip tracks one day or changing it the next to skip chapters in a dvd..... I can program all the skimpy stuff like "Open WINAMP" and stuff like that but i am having trouble with the hardware side, i have added the Microsoft Comm Control 6.0 and started to fiddle. BUT HOW ??? when i recieve the data (and which form is the data in e.g TEXT or BINARY) how do i tell which button is pressed...??? Get me? e.g. If button 1 is pressed what data do i recieve compared to button 3 or 4 etc "what is the diffewrence between Button2's data and button 3's data??".............. i hope u can help............. oh and heres a lookup table i made B1 B2 B3 B4 B5 B6 BIT 1 1 0 1 0 1 0 In-1 BIT 2 0 1 1 0 0 1 In-2 BIT 3 0 0 0 1 1 1 In-3 THANKYOU..................... -::Meza2Meza::- |
|
#2
|
|||
|
|||
|
B1 B2 B3 B4 B5 B6
BIT 1 1 0 1 0 1 0 In-1 BIT 2 0 1 1 0 0 1 In-2 BIT 3 0 0 0 1 1 1 In-3 Is what i meant -::Meza2Meza::- |
|
#3
|
|||
|
|||
|
---------B1 B2 B3 B4 B5 B6
BIT 1 | 1 0 1 0 1 0 | In-1 BIT 2 | 0 1 1 0 0 1 | In-2 BIT 3 | 0 0 0 1 1 1 | In-3 is what i actually meant |
|
#4
|
||||
|
||||
|
hey< meza - try enclosing your predefined spacing in ['CODE']['/CODE'] tags, it will preserve what you have created.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Microsoft Comm Control 6.0 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|