pixelmatix / AnimatedGIFs

MIT License
62 stars 34 forks source link

SdFat.h #1

Closed nickbrewer closed 9 years ago

nickbrewer commented 9 years ago

I've tried a few different methods, but I can never get past AnimatedGIFs not being able to find SdFat.h.

Every time I compile I receive. "AnimatedGIFs.ino:56:19: fatal error: SdFat.h: No such file or directory compilation terminated."

I'm guessing I haven't added the correct library to Arduino. Mind pointing me in the right direction? I'm not finding a whole lot of useful info in my googlefu.

Thanks!

pixelmatix commented 9 years ago

Hi Nick,

The easiest way is to include SdFat when you install Teensyduino. You can download and run Teensyduino again to install missing libraries.

Let me know how that works for you.

Thanks, Louis

On 21 Sep 2014, at 0:57, nickbrewer wrote:

I've tried a few different methods, but I can never get past AnimatedGIFs not being able to find SdFat.h.

Every time I compile I receive. "AnimatedGIFs.ino:56:19: fatal error: SdFat.h: No such file or directory compilation terminated."

I'm guessing I haven't added the correct library to Arduino. Mind pointing me in the right direction? I'm not finding a whole lot of useful info in my googlefu.

Thanks!


Reply to this email directly or view it on GitHub: https://github.com/pixelmatix/AnimatedGIFs/issues/1

nickbrewer commented 9 years ago

Unfortunately it isn't an option in the teensyduino 1.19 installer.

I purchased the kit today at Maker Faire, got excited, put it together this evening.

pixelmatix commented 9 years ago

It's been a while since I installed and I didn't take notes on where I got it. I believe this is the source, check out the README and quickstart.txt:

https://github.com/greiman/SdFat

Hope that works!

On 21 Sep 2014, at 1:29, nickbrewer wrote:

Unfortunately it isn't an option in the teensyduino 1.19 installer.


Reply to this email directly or view it on GitHub: https://github.com/pixelmatix/AnimatedGIFs/issues/1#issuecomment-56289741

KevoHack commented 9 years ago

Nickbrewer,

Like you, I excitedly bought the kit at Maker Farie two weeks ago. I'm not as fast as you at soldering, but just as successful at getting the joy...

For reasons unknown to me, the teensyduino-1.19.exe installer doesn't include SdFat in the list of all libraries. It appears from Pixelmatix's experienced that once upon a time it was included, at least in the version he used. Trying to fix this was a a maze of twisty little passages, all alike! Here is how I succeeded:

  1. Surf to https://github.com/greiman/SdFat
  2. Click "Download ZIP" button on far right bottom of first screen;
  3. Stash "SdFat-master.zip" on desktop or other unimportant spot, perhaps junk1\;
  4. Open the zip;
  5. Open "SdFat-master" and left click, right click, copy the "SdFat" dirctory;
  6. Open a new "My Computer" and navigate to "My Documents\Arduino\libraries\"
  7. Right-click paste into "libraries\";
  8. Probably you should exit/restart Arduino sketch if you have it open;
  9. Yay! Now AnimatedGIFs sample program will compile and upload!

Mysteriously, Windows wants to reinstall the serial driver when you upload the program.

Worse yet, my animated test GIF did not properly display on the Aurora, but at this point I suspect a cold solder joint. If it turns out to be a software problem I will open a new GitHub thread and link it here.

pixelmatix commented 9 years ago

Thanks for sharing the steps that worked for you. Based on the support requests I've gotten since Maker Faire, getting all the libraries installed is the most difficult part of getting the kit working. I'll improve the library install instructions to point out what's working best for people soon I hope.

KevoHack commented 9 years ago

Hello,

Following up, because I claimed "my animated test GIF did not properly display on the Aurora" but now I find my problem is not related to this thread or the Aurora kit, so I gotta fess up.

Previously in my testing the FeatureDemo sketch did not work, so when AnimatedGIFs didn't work, I assumed a cold solder joint, yet in this forum I suggested a software problem. Mysteriously the FeatureDemo now works and I think it must be due to (yeesh) user error.

More importantly I've found that all the examples in https://github.com/pixelmatix/AnimatedGIFs/tree/master/gifs/ work just dandy with the AnimatedGIFs example sketch. My 32x32 animated GIF (my girlfriend chopping an old door, hilarious to the two of us, but non sequitur to youse) not only messes up the display but also locks up the Teensy, GRRR!, so not so funny.

~Kevo

pixelmatix commented 9 years ago

Hi Kevo,

I think the issue playing back your custom GIF will be fixed by changing one line of code in the AnimatedGIFs sketch. The problem and solution is discussed here: https://github.com/pixelmatix/AnimatedGIFs/issues/2

I plan to push a new minor release with this fix in the next day or two.

Thanks, Louis

KevoHack commented 9 years ago

Louis,

Thank you! I will respond with my alternate fix on-topic back in #2.

~Kevo