ATtiny13 lightshow

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

Moderators: stojke369, pedja089, trax, InTheStillOfTheNight

ATtiny13 lightshow

Postby dcc » 06-08-2020, 18:38

Pozz!
Htio bi napraviti ovaj lightshow:

https://blog.podkalicki.com/attiny13-dance-lights-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/taunoerik/programming-attiny13-with-arduino-uno-07beba

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

Re: ATtiny13 lightshow


Re: ATtiny13 lightshow

Postby dcc » 10-08-2020, 19:17

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

Ubačen kod sa ove stranice,dakle kod od ATtiny45 na ATtiny13 :D
dcc
 
Posts: 56
Joined: 06-07-2016, 19:30
Location: Hrvatska


Return to Mikrokontroleri - AVR

Who is online

Users browsing this forum: No registered users and 1 guest

GOOGLE