BinaryByter
Why would you minimize dynamic memory?
BinaryByter
EVERYTHING is in the RAM
BinaryByter
even your code
klimi
Why would you minimize dynamic memory?
because its taking too much
BinaryByter
Well try using bitfields to reduce the amount of bits used
klimi
And they are eaters of memory
BinaryByter
Not really
BinaryByter
I mean
BinaryByter
sure they are
BinaryByter
but if you need strings, theres no better way to encode them
klimi
Mhm
klimi
:(
klimi
It's kinda sad that I can have only 1 string
klimi
Well
klimi
Only 1 short
klimi
Well maybe medium
klimi
And 2 short
BinaryByter
give us context
klimi
Well I store rttl in string... I know not the best way to store notes
BinaryByter
rttl?
Anonymous
Hi everyone! I am new here and very excited !
klimi
rttl?
Ringtones tone language
klimi
Or something like that
BinaryByter
wut?
klimi
I am using that with deciding program to play song
BinaryByter
but why is memory a constraint here?
klimi
Because the song
klimi
Is stored in char array
BinaryByter
yes?
klimi
Yep
BinaryByter
you are on a phone
BinaryByter
likely
klimi
Yes
BinaryByter
phones have around 1.5 gigs of storage
BinaryByter
rtti is prolly 1-7mb big
klimi
But why?
BinaryByter
klimi
BinaryByter
2kb
yes. so why is ram a problem?
klimi
But if I load bigger song
klimi
The ram needed exceeds 450 bytes
BinaryByter
so what?
klimi
So it crashes
BinaryByter
using more than 450 bytes crashes an app?
BinaryByter
dafaq
klimi
not crashes
klimi
But glitches
BinaryByter
you are probably messing something up
klimi
I'm excited when new boards arrive ... They will have so much space
klimi
:333
BinaryByter
get yourself some chocolate, treat yourself to a pirated anime and fix your problem tomorrow with a fresh mind :D
klimi
I can't fix it
klimi
It's unfixable
klimi
I runned out of memory
BinaryByter
oh its an arduino?
klimi
It's based on attiny
BinaryByter
oh
klimi
Digispark
klimi
6k flash + 500bytes of ram
klimi
16.5mhz!!!!!
BinaryByter
:D
klimi
Stop spamming
Luis José
klimi
Anonymous
Hello
klimi
Anonymous
hello guys :)
Anonymous
Hellooo
Anonymous
How are you
Anonymous
Fine
Luis José
?
I meant ReTweet, was a bad joke