Made safe versions of arduino functions

This is just a thin wrapper around the extern functions so we can write fully safe Rust code. After all, what's the point of writing Rust on Arduino without the full safety of Rust?