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 outputs. A second instance of the object may be started […]

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. The Parallax DS3231 AT24C32 Real Time Clock Module includes a […]

32-Channel ADC Object

Description The jm_analog_in_multi.spin2 object supports up to 32 ADC channels that can measure from 0 to 3.3v. The object is easily configured with a base pin, channel count, and low […]

Wireless Programming with the ESP8266 WX Module

Description Connect the boards together as shown and double-check the correct orientation of each item. Connect a suitable 5V power source and ensure the boards are powered on by observing […]

LED Matrix used as an I/O Test Utility

Description This Spin2 example uses a technique known as Charlieplexing to verify that the pins on the P2 and its associated circuit traces on the host board are functioning correctly. […]

Quadrature Encoder Object

Description These three source code examples interface a quadrature encoder clock, data and button signals to the Propeller 2. The first two versions are useful for seeing the internals of […]

I2C Device Bus Scanner Utility

Description This Spin2 utility program for the Propeller 2 scans all I2C devices connected to a pair of I/O pins and shows their addresses in a matrix format on Parallax […]

Simple Analog Input

Description This example demonstrates how to configure a P2 I/O pin to sample and capture an analog input, and display the raw values using DEBUG. ‘ Program reads an ADC […]