Arduino Nano and Serial.begin

Hi, I'm new in Arduino world. Maybe this will be some stupid question but anyhow. What is wrong with my code?
If I enable Serial.begin(9600) in Setup, application stop working, in opposite, I could use Serial, but then I should comment "prikazi_stevilke(desetice,enice);" in loop.

Any logic explanation? :roll_eyes:

strandtest.ino (19 KB)

You're almost certainly using too much RAM.
Get those tables into flash memory.

thx ....problem solved, i put some tables in eeprom and now is OK.
but, I'm surprised....during programming it was written 11k used out of 30k...and i thought that this is OK.
I need to read spreadsheet more in detail 8) :* :* :*
thx

during programming it was written 11k used out of 30k

That refers to program memory (flash memory).

The Nano has only 2K of SRAM memory.

http://arduino.cc/en/Tutorial/Memory