Interesting use for a BASIC Stamp & StampPlot.
Martin Hebel
Posts: 1,239
My family plays an on-line game, though I won't say which one or we might get busted for this, but one character type requires frequent repetitive keystrokes for an attack,1 2 1 2 1 2....,·which leads to aching hands and wrists.
I set up a StampPlot Macro to initiate the game:
!APPE c:\program files\game\game.exe
Then I set up a BASIC Stamp and a photoresistor in an RC network. When the sensor is darkened it initiates sending data to the started game application:
DEBUG "!APPS 1",CR ' send keystroke of 1 to application
pause 100
DEBUG "!APPS 2",CR ' send keystroke of 2 to application
pause 500
So, when ready to attack, simply darken the sensor. And of course the above repeats the entire time darkened.·
-Martin·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
StampPlot - Graphical Data Acquisition and Control
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers·
Comments
James L
It did start me thinking what other interesting devices I could implement, not just for the game, but in general... Still haven't come up with anything worthwhile, but still thinking. Thanks for the feedback!
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
StampPlot - Graphical Data Acquisition and Control
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
As always, just need to switch between the 2 application as to which has the COM port when making changes to the program, or use a second USB interface (prop-plug) and define other-than programming pins to use.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
StampPlot - Graphical Data Acquisition and Control
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers·