Velocity Control Help

I want to make a velocity control for my single flywheel, but I dont know how to make one with Easy c V4.
I would prefer TBH or Bang Bang.
Can anyone help?

There is only 2 weeks until worlds. Just download a RobotC trial. It’s really hard to do something of even the slightest complexity in easyC.