kookie91
Newbie level 6
- Joined
- Jan 30, 2013
- Messages
- 13
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,368
hi
I am a newbie to programming with MCUs.
I am trying to modify the adc program by reading voltages at 1000 hz, i.e i want to put the mcu to sleep for 1ms.
I know this can be accomplished using the wfi instruction, but can anyone please tell me how to write the subroutine to do that.
Thank you in advance !
I am a newbie to programming with MCUs.
I am trying to modify the adc program by reading voltages at 1000 hz, i.e i want to put the mcu to sleep for 1ms.
I know this can be accomplished using the wfi instruction, but can anyone please tell me how to write the subroutine to do that.
Thank you in advance !