Updated busadapter to use switch and led