Pages: [1]   Go Down
Author Topic: a blink sketch to a attiny-- problem  (Read 311 times)
0 Members and 1 Guest are viewing this topic.
LONDON UK
Offline Offline
Full Member
***
Karma: 0
Posts: 109
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i have mounted a attiny45 in my sparkfun avr isp shield which i successfully use with a UNO below as an ISP to load a bootloader onto other 328s with no problems .
so i now try to load a sketch onto the attiny45 ,just a simple blink sketch ,modfying the pin 13 to pin 0 for the blink sketch .but i keep getting the error message 'OUTPUT' was not declared in this scope .
why cant i get this to compile ?
the attiny is a 8 pin device .
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 289
Posts: 25697
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why can't you get what to compile?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

LONDON UK
Offline Offline
Full Member
***
Karma: 0
Posts: 109
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i cant verify the blink sketch .
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 289
Posts: 25697
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We're a bit detail-deficient here.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1051
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

From the few details, i guess yor Tiny-core isn't installed right

Try this core

http://code.google.com/p/arduino-tiny/

Follow theese instructions

http://code.google.com/p/arduino-tiny/source/browse/trunk/readme.txt

A short guide

http://www.ernstc.dk/arduino/attiny85.html

Logged

LONDON UK
Offline Offline
Full Member
***
Karma: 0
Posts: 109
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yea doing a general search on G shows other sufferers , due i estimate to libs not installed right although i am sure i  d/l the libs in the right places ...
Logged

Pages: [1]   Go Up
Jump to: