We are looking for an expert on EM6819 Microcontroller. We need the programming code only, which should do the following:
1.- MCU should send a "1" to only one of its outputs for X =15, 20, 30 or 50 ms. And then it should go to Sleep for the remaining time to complete Y=1, 1.5, 2, 3 or 4 seconds. This cycle continues to infinity.
2.- The X and Y parameters should be easily configurable by us, so they should be on top of the programming code so we can simply change the number to get the desired timing.
3.- Unit should be able to work with batteries of 1.5, 3 or 3.6 V with the least amount of current consumption possible.
This programming is extremely simple, but we want to make sure that the unit really works with the least possible amount of energy