LEDs – Beyond the Basics

Description Most of us begin our experiments with microcontrollers by blinking an LED; this is the microcontroller version of the “Hello, World!” program that is introduced in traditional computer programming training. On the P2, we can blink an LED like this: con LED_PIN = 0 pub main() repeat pinhigh(LED_PIN) waitms(250) pinlow(LED_PIN) waitms(750) { Tip! P2 […]

Customer buys Propeller 2 hardware and makes donation to Future Innovators Fund!

Today a customer ordered several kits of Propeller 2 hardware for their laboratory and also made a $100.00 donation to the Future Innovators Fund. This kind of customer is certainly paying it forward to students and we appreciate the support. The sponsor wishes to remain anonymous. Thank you very much!  Moments later we received another […]

DVI/VGA Text Driver Demo

Description Forum member rogloh created this easy-to-use text driver API layer that simplifies the setup in his VGA/DVI/TV driver for a single 16-color text screen at a given resolution. This self-documented driver works in both Propeller Tool and FlexProp. Some features of this driver: easily setup to output via VGA/DVI at different resolutions automatic HW […]

Tetris

Description Tetris was contributed by forum member Rayman, and incorporates the Ahle2 simpleSound engine. This code was written in C with FlexProp, and incorporates the use of Spin2 files for video, mouse and keyboard.  The hardware is a Propeller 2 board with the P2 Eval A/V Breakout Add-on Board for audio and VGA. In this […]

Simple Sound Engine Demo

Description simpleSound is an extension of the reSound object for playing MOD file formats (the first file format for tracked music on the Commodore Amiga, created with ProTracker). The reSound object was originally created in September 2020 and has a forum thread, under Additional Resources. The simpleSound files are most well recognized for their use […]

Colorful Terminal Output with ANSI Escape Sequences

Description Okay, the title is a mouthful, but the result of using an ANSI-compatible terminal and sending ANSI Escape Sequences gives our projects multi-color output – no more boring, monochrome displays. Using color in a terminal can be very useful as color can provide a visual indication of status more quickly than interpreting a value. […]

Starting Your P2 Project with a Spin2 Template

Description It’s common for writers – fiction, non-fiction, and even code writers – to be excited about starting a project only to become paralyzed by a blank screen on opening their editor. I help myself past this initial hurdle by starting every project with a template. My template provides the basic framework of a generic […]

PCF8574 I2C LCD Demo

Description The PCF8574 I2C LCD uses just two lines to interface: SDA (serial data) and SCL (serial clock), plus 5VDC and Vss. This LCD, which is available from Parallax with yellow or blue backlight, was extensively demonstrated in the Propeller 2 Live Forum: Spin2 for Beginners Series with JonnyMac. The YouTube video demonstrating the code […]

P2 Edge 16 MB Flash Reader and Explorer Utility

Description The P2 Edge (#P2-EC) has a 16MB Flash memory (Winbond part W25Q128JV) with a Serial Peripheral Interface (SPI) to the Propeller 2. The first 512K bytes is used for the user’s bootable application and the remaining ~15.5MB may be used for data. The timing with the SPI Flash is fast and deterministic, unlike SD […]

Loading...