Hi Andrew, Yes I have included this line at the top of my sketch. I am using IDE 1.8.5. Which I believe is the most recent version?
Many Thanks,
AJ
Data Logger Shield (HCARDU0093)
Re: Data Logger Shield (HCARDU0093)
Yeah that's the version I'm using. I'll install it on a clean setup to see if I can replicate the problem.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
Re: Data Logger Shield (HCARDU0093)
Thank you.
AJ
AJ
Re: Data Logger Shield (HCARDU0093)
I've tried the library on a clean install of 1.8.5 and complied for an Uno and I cannot replicate the error you're reporting. I'm starting to suspect there may be a problem with your install of the IDE as from your reported error it looks like it is complaining that it cant find the wire.h header file. This file is built into the IDE so shouldn't be missing. I would try reinstalling the IDE to see if that fixes your problem.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
Re: Data Logger Shield (HCARDU0093)
Hi, I have the HC logger working fine on an Arduino uno. However on a surface mount Uno clone it will not recognise the SD card with Digital pins 2-7 connected! Works as genuine Uno with pins 2-7 snipped on the shield. I have two clones and they are exactly the same. Didn’t look like 2-7 were even connected on the shield? Any ideas?
Re: Data Logger Shield (HCARDU0093)
As you say, pins 2 to 7 shouldn't be connected to anything on the shield and they don't have anything to do with the SD card so it defiantly should not matter if they are connected or not.
There is a CS pad for the SD card that's physically close to pin 5. I doubt it, but you may want to check the underside of the shield to make sure there is no solder shorting those two pads.
The fact that it works on one Arduino but not another suggests more to me like something is uninitialised in software. In your sketch do you have the CS pin configured to pin 10? Does the example sketch in the first post work?
There is a CS pad for the SD card that's physically close to pin 5. I doubt it, but you may want to check the underside of the shield to make sure there is no solder shorting those two pads.
The fact that it works on one Arduino but not another suggests more to me like something is uninitialised in software. In your sketch do you have the CS pin configured to pin 10? Does the example sketch in the first post work?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.