AGI I use the app "Brightness Manager" by Igor Tseglevskiy. It is pretty perfect for this purpose but has been pulled from the Play Store a while ago (has been there for years). I don't know why he deleted all his apps but it's still available as an .apk file at other sites. @degen downloaded it from a specific site somewhere higher up in this thread and we compared the checksums to make sure it's the original file. I can recommend this app in general for everyone who needs to find a safe non-PWM brightness range. You can view the display through a camera or better oscilloscope, fine-tune the brightness in the 256 levels Android uses behind the scenes and see when the PWM turns off. The set brightness level usually will be remembered after a reboot if auto brightness is off.
This is how I determined this exact value. If you ever use Paranoid Android, the value is a little lower, 65/255.