// DS1302 pins: CE, IO, SCLK DS1302 rtc(7, 6, 5); // Adjust pins to your wiring
The Arduino IDE and PlatformIO do not come with a built-in DS1302 library. You must install it manually. ds1302.h no such file or directory
Restart the Arduino IDE. The IDE scans libraries only at startup. Also, ensure you don’t have a file named ds1302.h in your sketch folder that is empty or corrupt. // DS1302 pins: CE, IO, SCLK DS1302 rtc(7,
Create a new, empty sketch and type only this: // DS1302 pins: CE
If this doesn't compile, uninstall the library completely and reinstall it from the menu.
Let’s tackle each one in detail.
Not a member yet? Register now
Are you a member? Login now