Snakeling: A snake clone

Error. :confused:

ArduSnake.ino:32:21: fatal error: Arduboy.h: No existe el archivo o el directorio
compilation terminated.

works flawless with the arduboy 1.0 (production/retail arduboy). how did you try to upload the sketch? what IDE are you using?

It sounds like you might want to step through the Kickstarter Quick Start Guide in the #arduboy:guides section.

Are you asking me???

1 Like

@RamonML
whom else if you are the one without success to compile the game for your arduboy :wink:

Sorry.

I use Arduino IDE 1.6.9 and I open the sketck and them I load it, it load correctly but the screen get black.

@RamonML, Where are you getting the sketch from? If you’re using the version on GitHub, I think that version will only work on a DevKit.

I tryed GitHub version and codebender version.

codebender message,
Arduino:1.6.9 (Linux), Tarjeta:“Arduino Leonardo”

/home/ramonml/Descargas/ArduSnake/ArduSnake.ino:32:21: fatal error: Arduboy.h: No such file or directory
#include “Arduboy.h”

                 ^

compilation terminated.
exit status 1
Error compilación en tarjeta Arduino Leonardo.

Este reporte podría tener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.

codebender dont load the sketch.

GitHub message,

El Sketch usa 17.722 bytes (61%) del espacio de almacenamiento de programa. El máximo es 28.672 bytes.
Las variables Globales usan 2.017 bytes (78%) de la memoria dinámica, dejando 543 bytes para las variables locales. El máximo es 2.560 bytes.
Poca memoria disponible, se pueden producir problemas de estabilidad.

GitHub load the sketch but screen get black.

(sorry about my english)

You need to follow Step 2 of the Quick Start Guide: Install the Arduboy Library

And don’t just load the game from your Descargas (Downloads) folder. Install the game into your IDE Sketchbook according to the Adding Programs guide.

Thank you very much for your help.

Library updated, sketch load form arduino folder … same ploblem, screen get black.

El Sketch usa 17.722 bytes (61%) del espacio de almacenamiento de programa. El máximo es 28.672 bytes.
Las variables Globales usan 2.017 bytes (78%) de la memoria dinámica, dejando 543 bytes para las variables locales. El máximo es 2.560 bytes.
Poca memoria disponible, se pueden producir problemas de estabilidad.

Is this the GitHub version? If so, I already said:

Ok, I will try with codebender one.

IT WORKS, IT WORKS!!! (sorry caps)

Codebender one works for me.

Thank you very much for your help.

3 Likes

HURRAY :grinning: great to hear that you got it working

1 Like

I’ve made changes to this sketch so it uses the standard Arduboy library, which will make it work on both the production Arduboy and the DevKit. I’ve created a pull request on GitHub for this.

Until my pull request is accepted and merged (if ever), my fork with the changes is available here.

1 Like

Before I can load it but now I have this error message,

/home/ramonml/Arduino/ArduSnake/ArduSnake.ino:32:21: fatal error: Arduboy.h: No such file or directory
#include “Arduboy.h”

                 ^

compilation terminated.
exit status 1
Error compilación en tarjeta Arduino Leonardo.