Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MARKESys

Pages: 1
1
Hi, Tony,

The Arduino IDE I'm using is 1.6.4; the TinyScreen .cpp file in the FlappyBirds directory is "TinyScreen.cpp - Last modified 28 April 2015".  I don't see any date-stamp on the FlappyBirds .ino file (obviously, the file date is that of when I downloaded it) - let me know where I can get this for you...
~~

2
Thanks for responding, Tony.  The library location seems to be in a weird place, though:

In file included from TinyScreen_Demo.ino:21:0:
C:\Program Files (x86)\Arduino\libraries\TinyCircuits/TinyScreen.h:62:18: fatal error: font.h: No such file or directory
 #include "font.h"
                  ^


Once I put the TinyCircuits library there, NameTag and Demo compiled just fine.  For some reason, FlappyBirds would not compile - the progress bar would advance about 75%, then hang.  (The IDE didn't crash or lock up; it just wouldn't finish compiling.)  Not a problem, though - the Demo code has all I need for now.

Is there any way to change the default library location?  I'd much rather have it in my user files area, both to avoid requiring administrative privileges to change it, and so that it will be correctly handled by my back-up strategy.  I changed the "Sketchbook location" under preferences, but this didn't seem to have any effect.
~~

UPDATE!  It turns out that the <Sketchbook location> path includes a "libraries" folder that is searched as well as the one in the Arduino installation folder, but changes/additions to this aren't detected until the IDE is re-started. (Tony, you alluded to this in your earlier post.)  I removed the TinyCircuits library from the Arduino installation folder ("\Program Files 9x86)..."), but left it in the user files Arduino location, and after re-starting the IDE the TinyScreen sketches compile just fine.

I still don't know whats wrong with FlappyBirds, though...
~~

3
I'm also relatively new to the Arduino platform, although I've been programming embedded systems for a long time.  I've been trying to get any of the demo programs for the TinyScreen to work, and always run into problems with libraries not found (first TinyScreen.h, then font.h).

When I first powered up the TinyScreen stack, it was running the demo program just fine.  I then successfully loaded the example "Blink" sketch (which of course erased the TinyScreen demo), so I now have a slowly-flashing yellow LED and a random display because the LCD isn't initialized.

I downloaded the "TinyCircuits-TinyScreen_Lib-master" zip file, so I think I have all the necessary libraries, but how do I get the sketch to find them?  (Incidentally, I'm not using CodeBender, since I frequently am without Internet access when working in the field - I always attempt to use only local resources (applications and data).)
~~

Pages: 1
SMF spam blocked by CleanTalk