Helping Code Pill Dispenser- rtc-buzzer-oled-servo driver

I am wondering why this code isn’t working for my major work year 12 project. I will add the code and the problem it mentions, along with my connection link. Any help would be greatly appreciated.

2 Likes

Hey @Thomas300385

Welcome.
Thanks for providing you’re code, error message, and a photo of the setup.
Great post; great question.

You’re close. The error message at the bottom on thorny, the shell, tells me micro python isn’t sure what you mean by rtc.get_time(). I think you want rtc.getDateTime() instead.

2 Likes