Arduino Christmas L...
 
Notifications
Clear all

Arduino Christmas Light Controller Code Modification

2 Posts
2 Users
0 Reactions
1,878 Views
Posts: 5
Topic starter
(@jbfilms)
Active Member
Joined: 9 years ago
[#50025]

Hello

I am wanting to modify victor_pv’s code at ( http://doityourselfchristmas.com/forums/showthread.php?35505-Simple-code-for-Arduino-Uno-Mega-Up-to-48-realy-SSR-channels-with-Random-mode ) to add a couple of features, but considering I’m new to coding I need help. The features I want are dimming with the H11AA1 PWM circuit (unless code is already built in for it) and the ability to add 2-way toggle switch to add normal mode (Vixen/random mode) when off, all channels on in on position 1, and all channels off in position 2.

Thanks


1 Reply
Posts: 1387
 kev
(@kev)
Noble Member
Joined: 12 years ago

I would say that that is a major modification. If you are wanting to make the modifications as a code learning opportunity then I would suggest examining how ZParticle implemented dimming. If you are just wanting a dimming sketch, I would suggest using ZParticle sketch as it exists. You might find it easier to add the switch function to ZParticle sketch since it already incorporates one switch.


Reply
Share: