Code adapted to run on RTC, pending: ports and configuration