PDA

View Full Version : Interesting use for a BASIC Stamp & StampPlot.



Martin Hebel
12-05-2006, 01:58 PM
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.· http://forums.parallax.com/images/smilies/devil.gif

-Martin·

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
StampPlot - Graphical Data Acquisition and Control (http://www.stampplot.com/)
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers (http://www.selmaware.com/appbee)·

James Long
12-05-2006, 07:35 PM
Hacker...........no really neat app.

James L

Kevin Wood
12-05-2006, 09:59 PM
Martin, this post alludes to what I think will soon be a paradigm shift in the PC market. The fact is, computer input hasn't moved very far from keyboards and mice. There is a wide open market for better, more ergonomic devices.

Martin Hebel
12-06-2006, 09:17 AM
Hi Kevin,
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 (http://www.stampplot.com/)
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers (http://www.selmaware.com/appbee)·

Loopy Byteloose
12-06-2006, 10:40 PM
Ummm. Can I use Stamp Plot with the Propeller chip? Seems to me that it really wouldn't know the difference.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········


···················· Tropical regards,····· G. Herzog [·黃鶴 ]·in Taiwan

Martin Hebel
12-06-2006, 11:44 PM
Sure, StampPlot simply want serial data, so the FullDuplexSerial library works quite well.
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 (http://www.stampplot.com/)
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers (http://www.selmaware.com/appbee)·