add contiki function to arduino