Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I need to write out psuedocode procedure for photosensors project. I need to write it on outside lights by the driveway that come on at different light levels and at different times. Please help!
Not quite sure what you mean here: "write out pseudo code procedure for photo sensors project". So you need to write the code for a micro controller that will look at inputs from photo sensors and turn lights on/off based on the amount of light? Where exactly did you want to start?
Well when you are ready outline exactly what you want to get done in some detail and I am sure you will get plenty of help. Turning yard/garden lights on/off at various levels of light during dusk/dawn is easy enough but I am thinking you want this micro controller (PIC Chip) controlled? Just not sure what you want or exactly how you want to do it.
Then it's just a matter of generating a flow or state diagram of what you want the code to do, i.e. how many different light levels do you want to detect and what do you want the lights to do at each level.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.