[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2012-08-10T16:19:25-05:00 http://www.petesqbsite.com/phpBB3/app.php/feed/topic/3602 2012-08-10T16:19:25-05:00 2012-08-10T16:19:25-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=22031#p22031 <![CDATA[how to control lights with parallel port]]>
still maintain voltage/current ratings and do not exceed capacity's..

safety first..TTFN

Statistics: Posted by iamdenteddisk — Fri Aug 10, 2012 4:19 pm


]]>
2012-07-06T11:15:16-05:00 2012-07-06T11:15:16-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=22011#p22011 <![CDATA[how to control lights with parallel port]]>
http://www.newegg.com/Product/Product.a ... 6815166031

or a USB parallel port. I can help you with using it on QB64.

Please follow the instructions in my Qbasic11.BAS module for using relays. Opto-Isolators keep current draw low.

Statistics: Posted by burger2227 — Fri Jul 06, 2012 11:15 am


]]>
2012-07-06T07:33:39-05:00 2012-07-06T07:33:39-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=22010#p22010 <![CDATA[how to control lights with parallel port]]> I fully agree on all points you made about using 110vac on/with a parallel port. I will investigate the chapter you mentioned on your demo program in about a week's time.
Since you mentioned "QB64 on a new machine", question: parallel ports are not available in most computers anymore, any idea or suggestion on how can I create 8 individually controlled ports out of USB, the only port available? Thanks again.

Statistics: Posted by rondacosta — Fri Jul 06, 2012 7:33 am


]]>
2012-07-04T21:27:58-05:00 2012-07-04T21:27:58-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=22006#p22006 <![CDATA[how to control lights with parallel port]]>
Download my Q-basics demo program in my signature and run it in QB. Chapter 11 part 6 covers parallel ports! I must WARN you
that the port can only run LEDs, not relays so you will need an external power supply no matter what programming language
you decide on.

INP and OUT are the best ways to deal with parallel ports! You could try QB64 on a newer machine. It won't run on a 98.

Statistics: Posted by burger2227 — Wed Jul 04, 2012 9:27 pm


]]>
2012-07-04T16:03:13-05:00 2012-07-04T16:03:13-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=22005#p22005 <![CDATA[how to control lights with parallel port]]> I need to learn how to use Qbasic.4.5 under Windows 98SE to control individual lights using the parallel port (ECP).
1. just downloaded Qbasic.
2. my Basic programming skills are 20+ years in the freezer
3 I have the hardware for 8 115VAC controlled outlets,,,, all I need is how to use Qbasic to turn individual pins on, off, and query their status at any given time.
4. Out of this learning I hope to be able to apply #3 in a future home perimeter security program.
Any help with (basic) examples of the three functions I want to accomplish would be greatly appreciated. That would be my launching pad.
The one thing I need to clarify is if when turning a pin on, it will stay so until turned off, or, the program has to maintain it on constantly via a loop....
Thanks, Ron

Statistics: Posted by rondacosta — Wed Jul 04, 2012 4:03 pm


]]>