adding basic support for bus driving and sensing