we should rework this to use the same API (will look into it) but this is for now https://github.com/me-no-dev/Arduino/commit/72c2c3f4e2a0c4de29ce5f946417aed6130748d5