ATtiny13 lightshow

Rasprava o AVR mikrokontrolerima, AVR projekti i drugo vezano za AVR...

Moderators: pedja089, stojke369, trax, InTheStillOfTheNight

Post Reply
dcc
Penjem se :)
Penjem se :)
Posts: 61
Joined: 06-07-2016, 19:30
Location: Hrvatska

ATtiny13 lightshow

Post by dcc »

Pozz!
Htio bi napraviti ovaj lightshow:

https://blog.podkalicki.com/attiny13-da ... -with-dft/

kod ubacivanja koda na ATtiny13 pojavi mi se ova greška:

Arduino: 1.8.13 (Windows 7), Board: "ATtiny13, 1.2 MHz internal osc.,
BOD 4.3V, Micros disabled"

C:\Users\Admin\AppData\Local\Temp\arduino_modified_sketch_149214\Blink.ino:
In function 'void dft()':

Blink:43:1: error: 'void dft()' was declared 'extern' and later
'static' [-fpermissive]


dft(void)

^~~

C:\Users\Admin\AppData\Local\Temp\arduino_modified_sketch_149214\Blink.ino:41:6:
note: previous declaration of 'void dft()'

^

exit status 1

'void dft()' was declared 'extern' and later 'static' [-fpermissive]

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Sumnjam da kod nije pisan za arduino uno već da je prebačen sa nekim drugim programom... :?: :?: :?: :?:

Arduino uno sam spojio sa ATtiny13 prema ovoj stranici:

https://create.arduino.cc/projecthub/ta ... uno-07beba

i to mi sve radi(led dioda blinka).
dcc
Penjem se :)
Penjem se :)
Posts: 61
Joined: 06-07-2016, 19:30
Location: Hrvatska

Re: ATtiny13 lightshow

Post by dcc »

http://www.ardumotive.com/music-rhythm- ... g-en.html#

Ubačen kod sa ove stranice,dakle kod od ATtiny45 na ATtiny13 :D
Post Reply