One of the very first projects posted to the Completed Projects forum was an·triac dimmer controlled by a Basic Stamp.· Also EFX-TEK has some hardware and code already done.
Here's a pre-built solution (I designed this, too) that has an SX programming header on it that would allow you to reprogram the board:
-- www.efx-tek.com/topics/fc-4.html
Comments
I've also attached the latest files.
-- www.efx-tek.com/topics/fc-4.html