As the question implies, is there a way to vary power to the microcontroller through software? maybe a library?
Why?
Please explain what you intend to do! and why you feel the need to 'vary power to the microcontroller through software'.
For programmable uncloneable functions. The microcontrollers SRAM will have different startup values upon powering on, and sometimes these are subjected to voltage input. I don't particularly have the equipment to power using physical methods like voltage dividers so I was wondering if USB power input can vary.
Sry, this makes absolutely no sense.
a7
You have a fundimental msunderstanding of how electricity works. SRAM is cleared on powerup, so is in a known state. Do you only need to output a different voltage? or do you need to output a controllable voltage?
Explain EXACTLY what you need, your description does not make sense.
This gives more insight
The definition of static random access memory from wikipedia
"Static random-access memory is a type of random-access memory that uses latching circuitry to store each bit. SRAM is volatile memory; data is lost when power is removed. The term static differentiates SRAM from DRAM which must be periodically refreshed."
data is lost when power is removed
and has nothing to do with varying input power to microcontroller through USB, thanks for the redirection.
a7
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.