Skip to main content

Timeline for Error in Arduino Library file

Current License: CC BY-SA 3.0

17 events
when toggle format what by license comment
Feb 9, 2016 at 4:31 vote accept Abel Luke
Feb 9, 2016 at 4:30 vote accept Abel Luke
Feb 9, 2016 at 4:31
Dec 14, 2015 at 11:47 vote accept Abel Luke
Feb 9, 2016 at 4:30
Dec 11, 2015 at 8:37 vote accept Abel Luke
Dec 14, 2015 at 11:47
Dec 4, 2015 at 1:15 answer added Kingsley timeline score: 1
Oct 13, 2015 at 8:04 comment added frarugi87 As I told you, my usual debug workflow is adding one feature at a time, then compile and see if it works. You said that removing the library leaves the error, so try starting from scratch and then adding code slowly. At present I can't download it.. Probably this evening I'll be able to do that...
Oct 13, 2015 at 4:35 comment added Abel Luke But there is no much feature in it. It is just the simple example code which comes with the library and the fingerprint scanner. github.com/sparkfun/Fingerprint_Scanner-TTL Please go through this link and maybe download this library and try it out. @frarugi87
Oct 12, 2015 at 11:00 comment added frarugi87 Then you have two ways to proceed: start with a working example (just a plain file with empty setup and loop, for instance) and gradually add every feature you need, until you find the broken one, or start removing features from your own one until it works. This way you'll be able to find the code that issues the problem
Oct 12, 2015 at 4:38 comment added Abel Luke @frarugi87 Okay. I removed the library from the sketch and wrote the test code. It showed the same error. So I guess there is nothing wrong with the library. What next?
Oct 9, 2015 at 10:28 comment added frarugi87 Try 1) removing the library and writing in the main sketch byte *test = new byte[12];. If this works the library has problems. Then 2) Try looking in the library. Probably something is redefining new
Oct 8, 2015 at 6:24 comment added Abel Luke I am using Arduino IDE 1.6.5. But then, I tried it with different version of IDE like 1.0.5, 1.0.6. It still shows the same problem. @Majenko
Oct 7, 2015 at 16:17 comment added Majenko What version of the IDE are you using?
Oct 7, 2015 at 15:43 history migrated from electronics.stackexchange.com (revisions)
Oct 7, 2015 at 11:08 comment added Roger Rowland Do you have a typedef for byte somewhere in scope at that location? byte is not a fundamental type and is usually typedef'ed to char or unsigned char.
Oct 7, 2015 at 10:29 comment added Abel Luke No. That doesn't make any difference because it is just the file name with .cpp extension.
Oct 7, 2015 at 10:27 comment added PeterJ Not sure if having your files having an extension of .c.cpp would confuse things, it they're C++ it'd be more conventional if they were just .cpp.
Oct 7, 2015 at 10:24 history asked Abel Luke CC BY-SA 3.0