Combined code (SD_logging + Servo) not working ActivityBot360 (C)
I have a problem with the ActivityBot360 when trying to map a route by navigating against a wall on the right-hand side with an IR sensor and writing the stepped angle to an SD card.
The robot can run both the servo required functions and the SD logging functions separately, but when combining the functions into one code it does not work at all and stalls when loaded into the robot.
he problem I am having seems to be that the servo360_connect is somehow blocking the sd_mount function (not 100% sure).
I added two pdfs:
-logg_speed_2.pdf is the code for running them both simultaneously.
-logg_speed.pdf is the same but here saving 48 movements into an array and then trying to log that array to SD card when done (more extra steps here).
Is there any workaround for this problem?