Changing analogWrite() function frequency

GitHub - Zanduino/INA: Combined Arduino library for reading multiple INA2xx power monitor devices this library for INA

I will construct a buck converter with low side mosfet (logic level mosfet so it won't need high gate current therefore Arduino should be enough to turn it on/off and it will be simpler)