Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 4 months ago.
error while compiling
hi I am trying this your code for ds1307 but it is showing me fommowing error Error: Undefined symbol $Super$$main (referred from retarget.o). though I tried every possible way it is producing some error Can I know please how it is be fixed?
thanks
Question relating to:
2 Answers
10 years, 4 months ago.
Hello,
DS1307 is just a library which contains class definition. You have to create an application which includes this library and write your own main() function.
Ales has some other code repositories, you might find there DS1307 example application.
Regards,
0xc0170
10 years, 4 months ago.
Hi, you can try the demo program from http://mbed.org/users/alpov/code/testing_RTC_OneWire/ or make your own app which uses the DS1307 library, as Martin suggested.
Ales