Main code for BF3 station using an arduino UNO