removed libcore.a arduino detendency
Fixed warnings
Fixed collision with math.h
removed digitalWrite Arduino dependency
Fixed some warnings