#problem
1 messages · Page 1 of 1 (latest)
A teacher on my shool set project where we need to create animation
I make one
But it don't compile
And error
Arduino:1.8.19 (Windows Store 1.8.57.0) (Windows 10), Płytka:NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:3MB OTA:512KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200
c:/users/firma/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx
106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:UsersFirmaAppDataLocalTemparduino_build_696453/0-ssss-mmmm.ino.elf section .data will not fit in region dram0_0_seg
c:/users/firma/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx
106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: address 0x40167140 of C:UsersFirmaAppDataLocalTemparduino_build_696453/0-sssss-mmm.ino.elf section .bss is not within region dram0_0_seg
c:/users/firma/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx
106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: address 0x40167140 of C:UsersFirmaAppDataLocalTemparduino_build_696453/0-sssss-m.ino.elf section .bss is not within region dram0_0_seg
collect2.exe: error: ld returned 1 exit status
found more libarys in Adafruit_NeoPixel.h
Used: C:UsersFirmaDocumentsArduinolibrariesAdafruit_NeoPixel
Not used: C:UsersFirmaDocumentsArduinolibrariesAdafruit_NeoPixel-master
exit status 1
Compilation error for board NodeMCU 1.0 (ESP-12E Module).
Wrong libary found in C:UsersFirmaDocumentsArduinolibrariessuby: file header missing (.h) w C:UsersFirmaDocumentsArduinolibrariessuby
I have no idea why that's happen and i don't have Access to compiler to it myself
Please help
Its not a problem with brackets for sure
there may not be enough room for the 504 NeoPixels. If you reduce that number, does it compile?
what do you mean?
couse working code is my techer code wich was displayed with all 504 ixels
this part of code is not changed
all i change is loop and add 2 arrays
Looking more closely, the [191][504][4] array is very large
191*504*4 is 385056
what is the animation, is it computable, or is it an picture or text or something?
its 191 frames each 504 pixels
right, but what is the image
does the character move its limbs, etc?
then you would be best off reading from a file, or breaking the image down into a background, and the moving character, and superimpose the character on the background. Perhaps there's an animation library you can use
that is make the animation be a program, not a bunch of static images
that is how it's done in a game
yes
but i created a program
witch everyone can use
for animation
and jpg files is eases and most accessible
for now i try with file couse i have only 4 days left
I dont' think there is a filesystem available for you to use.
just breaking it out into another .c file is not going to help
a txt file?
but where are you going to store the .txt file?
one file for all is probably faster
good luck!
if you can compute the differences between frames, that is another thing to do. but the differences needs to be small, to fit
Okey Thanks 😄