PENGUIN ROBOT Gone Wild - the code
Halloween is coming up, right?
This is a tiny Penguin program to add to the night of goblins,
ghosts, and witches.
They say if you work Penguin bot hard enough and long
enough, either his programmer or Penguin will go crazy.
This code proves it.
humanoido
Title: Penguin Gone Wild
Code Name: penguin_gone_wild.bpx
Purpose: Special Effect - Penguin goes wild on the Debug screen
This is a tiny Penguin program to add to the night of goblins,
ghosts, and witches.
They say if you work Penguin bot hard enough and long
enough, either his programmer or Penguin will go crazy.
This code proves it.
humanoido
Title: Penguin Gone Wild
Code Name: penguin_gone_wild.bpx
Purpose: Special Effect - Penguin goes wild on the Debug screen
' This special effects five lines code program generates random ' numbers from 1 to 65,535 and displays the ascii results on the ' debug screen. Since ascii results contain numerous screen ' formatting parameters, such as carriage return, positions, tabs, ' rows and columns, and special characters including ' some graphical elements, the result is very interesting. The fast ' speed of the BS2px makes this effect possible. Includes random ' graphics display elements and PC speaker sound.
humanoido said...
This code is so small, it takes up no memory.
If you don't believe it, just click on the Editor EEPROM Map for a
usage report at the top.
Comments
Got to admit you put out a bunch of great coding examples and I for one really appreciate it.
It is always good when I see your name in the last post under robotics.
Thanks much for all your effort.
Carl
Has anyone completed a Penguinese emotion range file?· We have "excited", how about "happy", "angry", "sad", "bored"....
It's comments like this that keep me going.
Grievousfish, it does look like a foreign language.
There's a Penguin "language" programming suite.
I'm working on a Penguinese program for you that
will include lexicons of inflective emotions!
The challenge is working with sound. Initially the
Basic Stamp is limited to a few beeps and tones
with the peizo speaker. The peizo speaker itself
limits the range of frequency. And everything is
different and needs conversion when going from
a Basic Stamp 2 over to the Penguins faster
on-board Stamp 2px.
However, VR code has opened up a whole new world.
In working with sound, a small discovery led to
the development of a Virtual Sound Chip, which is
capable of producing far more interesting and
complicated sounds. There is now a sound library
being developed, growing with several hundred
amazing sounds. The Virtual Sound Chip can also
take advantage of the peizo speakers strengths.
This involves specific volume capabilities and
sound output waveforms. There are other elements
to control the tones and music can even have vibrato
and chords. The faster Penguin Stamp is a great
advantage as well. A form of multiple iteration driver
engines can control baud rates and envelope and
introduce many new waveform sounds.
humanoido
Post Edited (humanoido) : 10/28/2007 4:21:24 AM GMT