update samples for arduino ide
bug fix for serial driver
better compile log when building samples