so...its been a while since i last posted something
changed some things that work, tried many things that don't work...
Changes:
1. Sprites: thanks for the suggestions. Found some cars at various sites too (mentioned in this links provided by you). First thing i got: car sprites should be at least 11px height. But i didnt want to "steal" the sprites, so i took some photos of my car and modified them heavily - guess what manufacturer
2. i probably stick with "Buino Racer"... but Rally would make sense too
3. as is don't want to spam your sd cards with many files, i put them all together in 1 file: BRACER.DAT (attached as zip) it contains at moment 10 tracks from easy to hard...
my Gamebuino loses sometimes the track file (the whole PFFS file object is gone) It will be called ("reinstance"??) again, but there will be an short delay. It happens only sometimes. I think if the battery is not fully loaded.
4. new track selection with results. press B several seconds to clear results.
5. results are stored in eeprom. but only if you are better than the last time - to save eeprom writes
6. made a test with accelerometer ADXL345. dont know if this works on Gambuinos without any attached I2C device. Simbuino dont.
Calibration data is hard coded - so see this more as a tech demo
wire.h uses a lot flash and ram:
Der Sketch verwendet 30.314 Bytes (99%) des Programmspeicherplatzes. Das Maximum sind 30.592 Bytes.
Globale Variablen verwenden 1.841 Bytes des dynamischen Speichers.
I'll try to upload a screenie
7. this could be the the final version...
- Attachments
-
- RPROTO7_Accel.zip
- if you have a ADXL345 (accel module), you may try this ;)
- (29.65 KiB) Downloaded 639 times
-
- RPROTO7.zip
- Prototype with normal controls
- (28.25 KiB) Downloaded 666 times
-
- BRACER.zip
- Trackfile
- (7.63 KiB) Downloaded 641 times