thank you for your replying very much!
when I analogWrite(3,255)
and connect 3rd pin and 5v for experiment
voltage testing device say 1.7mV (I expect 0V)
this small voltage can be ignored?
3rd pin is a pin which I want to simulate as connect nowhere
I think I solve the problem with your replying
(logic high or analogWrite(3,255))
thank you!
If this is an output pin that you want to look like it is connected to ground or nowhere then for ground you need to set it to be an output and set that output to a logic zero or LOW.
To simulate the nowhere, change the pin into an input, this will then be a very high impedance which is like nowhere.