I am working on a hardware program in python in which i have to create a Frame of hexadecimal values and serially write it on raspberry pi so it can communicate with end dev