Virtual Humans Forum
Virtual Humans Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

Virtual Humans
Partner website:
 All Forums
 Penguin Robot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Forum Admin

1455 Posts

Posted - Nov 02 2015 :  10:32:56  Show Profile  Visit vrossi's Homepage
28 Programs for the Segment Display
A collection of 28 programs, which show some of the many uses of the 7 segment display.

Penguin Display Demo

This code will silently display all possible characters on Penguin's segment display and show the corresponding codes (0 through 15) on the DEBUG screen.

Penguin Display Graphics
Display five graphic characters with codes 10, 11, 12, 13, 14. This program displays five graphics characters in succession, using their corresponding codes. The comments hold a reference in ascii showing what the characters look like. The program uses codes 10 through 14. To turn off the display, 15 is used.

Penguin Segment dog
Run this code, observe and explain the results. The code actually displays a single special graphics character and then freezes it on the screen. The main program has only one line, with one declaration.

Penguin Dimmer

Program to dim a digit on the segment display

Penguin Tiny Display
Display all possibilities and shut off

Penguin High Speed Segment
This code silently displays corresponding Penguin characters (at high speed) based on codes from 0 through 127 inclusive. The equivalent decimal code is displayed on the debug screen.

Penguin One Number

There is no main program. This code has declarations only. The code was simplified until the main program disappeared. Code demo to continuously display one number (a nine) on the segment display. For numbers 0 through 9, change the declaration LEDDisplay = n where n desired number.

Penguin Visual Alarm

This is a tiny attention-getting program for the 7-segment display on Penguin Robot. It displays a number (2) and alternates from full brightness to a noticeable but unique flashing cycle. It can be used as a visual alarm for various conditions, battery low alert and other internal effects.

Penguin Display Graphics Suite

Program to display graphic G1 to G5 on the Robot segment display

Penguin Display Numbers Suite

Program to display numbers 0 to 9 on the Robot segment display

Penguin Fast LCD

Penguin Robot with BPI-215 Scott Edwards LCD Display This programs count a full word from 0 to 65,535 at the full speed processor of 9600 baud and displays the counting numbers on the LCD screen.

Displays ASCII characters from 0 to 255 with exception of 254 which is the instruction command

Penguin on LCD

Penguin Robot is now on LCD. This code includes all details necessary to attach a BPI-215 Scott Edwards LCD Display.This program displays two lines at the full LCD speed of 9600 baud.

Penguin LCD Monitor
This program displays on the LCD some info about the Penguin status:
1) Stride Center / Tilt Center
2) Left Photoresistor / Right Photoresistor
3) Compass Heading
It also includes automatic backlight according to light level and flashing warning in case of wrong servo calibration.

Penguin 3 Laws Of Robotics

Your Penguin has got a positronic brain! This program displays on the LCD the 3 Laws of Robotics, by Isaac Asimov.

Click here to download:

  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Virtual Humans Forum © V.R.Consulting Go To Top Of Page
This page was generated in 0.09 seconds. Snitz Forums 2000