I tried to add some code with no luck
lockadoc
Posts: 115
I'm trying to add some code that works by itself, but won't work when I try to add it to some other working code.
I hope my documentation explains it ( please make some sugestions and how to·improve on the documentation )
At present my code starts a new cog with a blinking·Led, then starts a RCdecay Method
using a photoresistor that will detect sunset and turns on 8 outputs (leds for now), this part works, what I'm trying to add is code that turns off 2 outputs at a preset time,than two more at another time than two more a few minutes later.
I'm trying to add littles bits at a time until· I reach my End Goal
Which·has a much better chance of working with this FORUMs help,
This Forum has some very talent people, for that I'm very greatful.
THANKS· BillS
I hope my documentation explains it ( please make some sugestions and how to·improve on the documentation )
At present my code starts a new cog with a blinking·Led, then starts a RCdecay Method
using a photoresistor that will detect sunset and turns on 8 outputs (leds for now), this part works, what I'm trying to add is code that turns off 2 outputs at a preset time,than two more at another time than two more a few minutes later.
I'm trying to add littles bits at a time until· I reach my End Goal
Which·has a much better chance of working with this FORUMs help,
This Forum has some very talent people, for that I'm very greatful.
THANKS· BillS
Comments
You can clean up your code by making sure that everything is consistently indented. Some lines of code have the same level, but are indented differently.
Also, you don't need to include the Propeller tool in the zip. It just adds another MB.
Post Edited (SRLM) : 11/1/2009 7:22:34 AM GMT
see attchached picture and attached zip-archive for explanation
best regards
Stefan
Post Edited (StefanL38) : 11/1/2009 1:11:20 PM GMT
Thanks
Bills