准备工作:http://ukonline2000.com/?p=880
pi4j调用:config.device("/dev/ttyAMA0") .baud(Baud._115200) .dataBits(DataBits._8) .parity(Parity.NONE) .stopBits(StopBits._1) .flowControl(FlowControl.NONE);