[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interfacing the Apple // to External devices



Matt McDonald <mcdonaldm@usfca.edu> wrote:

>Has anone tried interfacing their Apple // to external devices, such as 
>motors for robotics experiments, and such? I am interested in attempting 
>this, and wondered if any others have any advice...

The first things to try is the following (use relays & external power
if 3.5V ain't enough):


Poke -16296,1  Clear game I/O AN0 output (OFF-3.5V HIGH)
Poke -16295,0  Set game I/O AN0 output (ON-.3V LOW)
Poke -16294,1  Clear game I/O AN1 output (OFF-3.5V HIGH)
Poke -16293,0  Set game I/O AN1 output (ON-.3V LOW)
Poke -16292,1  Clear game I/O AN2 output (OFF-3.5V HIGH)
Poke -16291,0  Set game I/O AN2 output (ON-.3V LOW)
Poke -16290,1  Clear game I/O AN3 output (OFF-3.5V HIGH)
Poke -16289,0  Set game I/O AN3 output (ON-.3V LOW)


These correspond to some pins on the internal 16-pin joystick socket
near the right-rear.  I forgot which ones; sorry.  If you're
interested, someone (or maybe I) can find out which pins go where.
--
| /      /         />___________________       +==Apple // Forever==+
|___  _____  M#M#M#||___________________---__  +-37th Wisest Wizard-+
| \ \  /     #M#M#M||___________________---    +- Edhel Iaur, Esq. -+
| / /  \_/         \>
http://www.wco.com/~3d5d1wsw/US-A2WUG/FOUNDING.MEMBERS/HOME.PAGES/EDHEL