kookie91
Newbie level 6
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 !