![]() | ![]() | ![]() |
| |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
![]() |
| | Tools |
| | #31 | |
| Quote:
__________________ Time is nature\'s way of keeping everything from happening at once. http://membres.lycos.fr/jrainville/ | ||
| |
| | #32 |
|
ok, so I tried a much simpler code, a blinking led code, it compiled, built and linked successfully, but nothing happened to my circuit. What could be wrong? I already extracted the inpout32.dll in the lib folder of VC++, in the system32 and system folder of C:\, but it still doesn't work. below are the attachments of what I did
| |
| |
| | #33 |
|
Good, you're almost there ![]() Now, you need to send a bit more data if you want to see something happen. Try something like that : Code: int i, j;
for( i = 0; i < 10; i++ )
{
for( j = 0; j < 2500; j++ )
{
Out32(...); // Send '1'
}
for( j = 0; j < 2500; j++ )
{
Out32(...); // Send '0'
}
}
__________________ Time is nature\'s way of keeping everything from happening at once. http://membres.lycos.fr/jrainville/ | |
| |
| | #34 |
|
hahahahaha :lol: :lol: :lol: thanks a lot to all of you guys especially to you Joel Rainville, I used the for loop that you made, i just saw one blink at first, then I changed the number of loops of 1s and 0s to 10000, and it worked perfectly!!! :lol: :lol: just a question, do you guys know the equivalent microsecond or nanosecond of the execution of a line of instruction in visual C++?I may be needing it for servomotor control to be able to continue my robotic project | |
| |
| | #35 | |
| Quote:
If you want to feed servos, use a PIC to feed them, and control them via the RS232 port - PIC systems for this are commonly available. | ||
| |
| | #36 | |
| Quote:
__________________ InfinityCreation - Where creations goes to infinity! | ||
| |
| | #37 | ||
| Quote:
__________________ Time is nature\'s way of keeping everything from happening at once. http://membres.lycos.fr/jrainville/ | |||
| |
| | #38 |
|
Can some one tell me how to make my LED to blink 2,4,5, or more times...I tried how you had write but it just blink one time and thats all....Please ..
| |
| |
| | #39 |
|
Hi friends the orginal questionPosted by gastonanthony is also my question,I've read alot on different forums but I can not get clear view,the problem I want toaddress is interfacing a switching module using VC++ in Win XP platform
| |
| |
| | #40 |
|
to unlock the parallel port many people suggested me to use inpout.dll. I've downloaded it but how can I use it.can I include in my applications source code or in c:\ at the drivers.It is a little bit difficult for me.
| |
| |
| | #41 |
|
inpout.dll has to be imported into your compiler and you have to use IT'S functions to setup and drive the port. What you need to do is setup a program called giveio which works for every program on the system.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #42 |
|
thank U Sceadawian for u'r responce but simply importing it my compiler and coding does the required function what I'm in need of,would u like to clarify for me
| |
| |
| | #43 |
|
Sorry I can't, I'm not too familiar with the tools myself. I know you can import DLL's that have published functions. Many DLL's are compiled with the functions published in a sort of descriptor, never used the feature and it's been a long time since I tried to code anything serious. You need information on how to use the published functions though.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
|
| Tags |
| inpoutdll, visual |
| Thread Tools | |
| Display Modes | |
| |