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 Serial Terminal.  This program is useful to verify the addresses of multiple device addresses on the same bus before you use them in an application. […]

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 and displays raw count CON _clkfreq = 100_000_000 ‘set clock frequency _pin = 0 ‘do conversion on this pin PUB go() | i pinstart(_pin, p_adc_1x […]