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

0 Members and 1 Guest are viewing this topic.

Offline buck converter

  • Regular Contributor
  • *
  • Posts: 160
  • 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.
 

Offline ataradov

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

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 9209
  • 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)
if something can select, how cant it be intelligent? if something is intelligent, how cant it exist?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf