Trying a bitbang method