Author Topic: Can programming pins on AtTiny84a be connnected to LEDS while being programmed?  (Read 1428 times)

0 Members and 1 Guest are viewing this topic.

Offline buck converterTopic starter

  • Regular Contributor
  • *
  • Posts: 165
  • Country: us
So I want to use a Attiny84a-ssu to drive some leds. Can LEDS be connected to the programming pins (sck, mosi, miso) while being programmed?
I only need 5 leds, but i am etching single layer boards at home and it is for a REALLY tiny project. It would make the board layout much smaller if the programming pins were driving the LEDs.
I would be programming it with my UNO and the Arduino IDE.
Just me and my scope.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Alex
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11639
  • Country: my
  • reassessing directives...
yes you can as long as you have high impedance to the led or anything for that matter. (the high value resistor, such as R4 R5 R6 in Alex's diagram)
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf