def METHOD_NAME():
    device_str = input("Device? (e.g. '/dev/ttyAMA1'): ")
    baud_str = input("Baud rate? (e.g. '9600'): ")
    device = AtlasScientificUART(device_str, baudrate=int(baud_str))
    print(">> Atlas Scientific sample code")
    print(">> Any commands entered are passed to the board via UART")
    print(">> Pressing ctrl-c will stop the polling")
    while True:
        input_str = input("Enter command: ")
        if len(input_str) == 0:
            print("Please input valid command.")
        else:
            try:
                print(device.query(input_str))
            except IOError:
                print("Send command failed\n")