A while back I promised my friends Casey and @Ken Gracey
that I would give them a bit of coaching on programming in Spin2, with the end goal of having a fun little Christmas lights project. Ken brought it up in the P2 discussion today, so we're going to open it up to those who want to join in.
What we're using:
-- P2/Breadboard Kit: https://www.parallax.com/product/propeller-2-developer-starter-bundle
-- WS2811 lights (you can use any smart pixel string): https://www.amazon.com/gp/product/B01AU6UG70
-- 2x16 I2C LCD: https://www.amazon.com/gp/product/B07SZV1MK8
-- Quadrature encoder w/button: https://www.amazon.com/gp/product/B06XQTHDRR
-- RTC with EEPROM (optional): https://www.amazon.com/gp/product/B00LX3V7F0
-- 1-Wire temperature sensor (optional): https://www.amazon.com/gp/product/B07MR71WVS
Note that some of these come in multiple units so you have spares or can share with a friend.
You may want some M-M, M-F, and F-F connection wires, too.
And if you want even more power for your lights:
As we said in the discussion today, this is a holiday project so that Ken can have some fun with the P2 like the rest of us. He has been working very hard to keep Parallax running and steady, and he deserves a bit of fun. I am excited to be helping him in that regard. Feel free to join us.
We will be programming in Spin using Propeller Tool. You should be able to use FlexGUI as well (but I haven't tried, so no guarantees).
I'm reviewing the objects we'll use and will post them here. Be sure to refer back to this post for the latest files and links.
Update 23 DEC 2020
-- Install Propeller Tool 2.4.1
-- Copy my Library files to your Library (C:\Users\username\Documents\Propeller Tool\Library)
-- Copy demo programs to convenient location
Note to FlexProp users: Most code should run, but I make heavy use of PST; you will have to adjust for the FlexProp terminal.
06 JAN 2021: I have added the files for today's presentation (jm_spin2__week_3.zip).
13 JAN 2021: I have added the files for today's presentation (jm_spin2__week_3.zip) -- be sure to update the Library files.