I have an attiny85 I am wondering if it can do
random(,)
if(){
}
or other Arduino logic commands
using the Arduino as the programmer
attiny programs
- moooarcuuuus
- Posts: 232
- Joined: Tue Jul 04, 2017 1:28 am
- Has thanked: 2 times
- Been thanked: 94 times
Re: attiny programs
Yes you can. There are working bootloaders for attinyXX. I used https://github.com/damellis/attiny in the past.
Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep... Game Over
-
- Posts: 26
- Joined: Wed Aug 09, 2017 5:00 am
- Has thanked: 5 times
- moooarcuuuus
- Posts: 232
- Joined: Tue Jul 04, 2017 1:28 am
- Has thanked: 2 times
- Been thanked: 94 times
Re: attiny programs
Is that a question? You can always write a map function.
Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep... Game Over
- abrugsch
- Posts: 971
- Joined: Tue Aug 02, 2016 10:00 am
- Has thanked: 356 times
- Been thanked: 430 times
- Contact:
Re: attiny programs
as long as there's enough memory space then you can use any arduino library you need. it's just C++. map doesn't use any special CPU instructions that the tiny is unlikely to have (it's just a fancy list) so flash memory is going to be your biggest problem with the tiny range. but they are still very capable chips
-
- Posts: 26
- Joined: Wed Aug 09, 2017 5:00 am
- Has thanked: 5 times
Who is online
Users browsing this forum: No registered users and 1 guest