I need help in creating a self balancing car (code)

OK - so no need for the OP to spend time looking at that :wink: