Quantcast
Channel: Microcontrollers, Programming and IoT
Viewing all articles
Browse latest Browse all 1271

Attiny85 vs Pin 1 as an Input

$
0
0
Hey !

working on something that will use an Attiny85.

In a nut shell, I want to detect the presence of something, and via I2C, control 3 LEDs (R,G,B)

So far, I have found most of my information, but still struggling with pin 1.

My planned pin-out is as follow:

1- TCRT5000 sensor
2- Red LED
3- Green LED
4- Gnd
5- SDA for I2C
6- Blue LED
7- SCK for I2C
8- VCC

Now, my problem with pin1, is that it is the reset pin ! Spec sheet mention that it can also be an AnalogIn, which would be...

Attiny85 vs Pin 1 as an Input

Viewing all articles
Browse latest Browse all 1271

Latest Images

Trending Articles



Latest Images