1. For this project the core is a state-machine for which I think the code will all be sequential but is there a time clock interrupt for implementing a time sliced process?
2. Can you suggest a motor or what do I need to consider.
I need to be able to drive a motor to rotate in fixed 60 deg (or multiples thereof and forwards or backwards) but no more than 360 deg in one movement. A movement needs to be complete in about 0.1 second. The item it is driving is a hollow cylinder about 40mm in diameter and weighing about 120gm. I'm happy to pay for something reliable.
3. I bought the LDR because I need to identify whether there is a threshold of light in 4 places. My first thought is to link each one up to a digital input. But is there a better way of doing this? I did wonder if I could get the input as a bit set binary number.
2. Time slicing. I don't need it for this project. The sort of reason for thinking about it is: a process which is controlling motion and needing to check every 1/10 sec for inputs on any sensor.