That would actually be illegal to flash or alternate hi/lo.
You can only modulate hi or low beam, preferably hi beam, that way you can flick the switch to turn it off during the day if you want.
A photo sensor automatically turns it off at night and prevents it from modulating.