Thank you.
I copied these lines from somewhere when I first started using interrupts on the Uno. I saw recently on some code for a Mega that PCintPort:: was not used as a prefix. What does PCintPort do please? I can't find an explanation of :: either - what does that do please?
The attach interrupt link you gave me 2 replies ago has example code in which the "PCintPort::" is not present. It seems that it is therefore unnecessary?
I wonder if the presence of this prefix in my code is why the Mega doesn't see the interrupt. (I cannot easily try the mega in the project at the moment to find out.)
I have an Arduino Uno R3 with a datalogger shield (new style, V2) and am getting an intermittent CHK fragmented file in Excel 2010 - Windows 7 - when I plug my SD card into my laptop. Do I have a goofy SD card or is there something I am doing wrong? Are there any good tutorials beyond the Adafruit documentation? I am using the light/temp example provided in the Adafruit documentation with a few extra variables for extra logging datas. Sometimes it works great and the error can occur in between sequential logging sessions, such re-loading code while adjusting serial monitor messages. Help!
There are 3 library folders in that zip file. Inside each library folder is an 'examples' folder. All the example sketches are in the examples folders.
Thanks again Bill. I have got the sketch that I want - but it requires library files that I do not have installed. I see .h and .cpp files for those libraries but how and where do I add them? I suppose in Documents\Arduino\Libraries rather than in "program Files" but presumably I should not just copy .h and .cpp files into the libraries folder? Sorry again!
OK I have pasted the libraries but I get many errors when verifying, including twimaster, SdFat and RTC_Ds1307. I must leave this for the moment. I shall try hard wiring the Mega onto the logging shield and use my old code. I will come back again later if necessary. Thank you.