Controller code for 501 Serial communication driver | Acromag