a frame work to support accessing digital port and analog port on arduino using Serial(BT or something else)