Arduboy Game Jam 4: Complete!

I think you can get a very faint reading if you tap on the back with reading the piezo over ADC. Not sure, someone test. I thought this was already tested to work?

Its a flashlight?

1 Like

I finally found some hours to start the ArduBrain project for this Jam that will collect some mini tests/games to train and test the user’s progress.
I came out with a simple C++ interface that tests should inherit from and implemented the simplest Reflex test.
If anyone wants to contribute implementing one of the minigames specified in initial List, send me a github pull request or a text patch and I’ll gladly add it to the project :slight_smile:

Virual functions and dynamic memory allocation? Goodbye progmem. :P

But on a more serious note: you’re mixing new and free - do not do that. That’s bad.

Edit:
If the intent was to avoid calling the destructor for fear of memory usage,
you didn’t give Test a virtual destructor, so only Test's destructor will be called,
and Test's destructor is trivial (because it’s implictly defaulted and empty),
so any call to it will be optimised away.


Also technically the comment “tell the arduboy to swap buffers” is incorrect.
The Arduboy only has one buffer and you need at least two buffers to be able to ‘swap’ them.

Like I said, you can’t read the piezo speaker with the ADC. Neither of the pins the speaker is connected to are ADC capable.

Maybe you are referring to the theremin sketch someone made?

1 Like

Great, I found an excuse here to power on my Arduboy again and try some ideas…

I’m also glad to find @Vampirics here :slight_smile:

1 Like

Is it a single entry per person?

So you typed undefined into a text file and saved it with .hex extension? Not funny. :face_with_monocle:

1 Like

Nice detective work … but what would make you think to rename it?

Probably the “(9 Bytes)”. You couldn’t even fit a bootloader in 9 bytes.
(And knowing @Mr.Blinky he’s probably tried. :P)

I’m metaphorically kicking myself for having not noticed that earlier.

Personally I thought it was quite amusing,
if only because it took the best part of a day before someone noticed.

1 Like

Not sure If the question is directed to me or if I understand it right. But if you open the file with a text editor you’ll see the word undefined. An intel hex file does not contain text.

Even the intel hex ‘End of File’ marker doesn’t fit in 9 bytes

The idea of submitting a hex file that doesn’t do anything could be amusing. But intentionally submitting a bad file isn’t IMO.

The file associations of a HEX file would not normally open it in Notepad … you must have thought, I know - I will see if it has clear text in it!

@Tariq has sent me a PM … he described his ‘program’ to me and it should do more than what he posted. He will probably repost it.

1 Like

Yep I thought 9 bytes is way to short for even a single line of hex and thought I had a peek at it’s contents (more thinking it may be an corrupt upload then a prank)

As I added to my prev post (while you were typing), I think it was a corrupted upload or some other error.

1 Like

For what it’s worth, Tariq told me before doing that, that he took the hello world example and just edited it. Didn’t really understand the point. But now it’s even worst than I thought if he really just renamed to .hex a text file…

I now understand that he didn’t know what he was doing and it was unintentional.

It may be useful to add some instructions (or a link to) on how to export a hex file using the Arduino IDE and submitting the correct hex file (ie without bootloader) to the first post.

1 Like

I released “PI 24k” for this jam. Check it out!

1 Like

Here’s my entry, ArduMetronome.

4 Likes

Teaser of what I’m working on
ArduboyRecording

2 Likes