A bunch of simulator fixes:
urequests
using requests
")requests
is not present, code without network usage still works)Petals were ordered in reverse direction in the simulator so input was registered for the wrong petal. Fix this. Fixes: #68
For mocking network requests, we need the `requests` python package.
This will be necessary to get some further python modules/functions to work as they expect a proper stat result.
This is the recommended path in the docs so let's also ignore it.
By importing `_time` in `freertos_sleep()`, the host time module was imported as `time` again as well, breaking all later code using e.g. `time.ticks_ms()`. Fix this by using `time` in `sys_kernel.freertos_sleep()` as well.