Category: P2 Quick Byte

Simple Sound Engine Demo

Description simpleSound is an extension of the reSound object for playing MOD file formats (the first file format for tracked …

Read More

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 …

Read More

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 …

Read More

PCF8574 I2C LCD Demo

Description The PCF8574 I2C LCD uses just two lines to interface: SDA (serial data) and SCL (serial clock), plus 5VDC …

Read More

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 …

Read More

MAX7219 LED Display SPI Demo

Description This Quick Byte consists of three Serial Peripheral Interface (SPI) examples using the MAX7219 LED Display Driver and the …

Read More

Multiple Serial Port (8 UART – 16 Tx/Rx) Object

Description The Propeller 2 can manage multiple UARTs simultaneously and be an aggreator of many serial inputs. This driver is …

Read More

Multiple Servo Control (up to 64) Object

Description The jm_servo_multi.spin2 simple servo driver that uses P2 smart pins to create the servo signal on up to 32 …

Read More

DS3231 Real Time Clock I2C Demo

Description The DS3231 is a low-cost, precision I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal. …

Read More

DHT11, DHT22, CM2302 Humidity and Temperature Sensor Object

Description The jm_dhtxx.spin2 object wakes and reads data from the DHT11, DHT22 and CM2302 Humidity and Temperature Sensors. In the …

Read More