Arduino convenience functions.