01-01-2020, 17:01
(Ten post był ostatnio modyfikowany: 01-01-2020, 17:01 przez Jarewa0606.)
A sprawdź miernikiem czy działa funka pullup na pinie 4
Choć specyfikacja mówi że
1.1.3 Port B (PB5 : PB0)
Port B is a 6-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port B output buffers
have symmetrical drive characteristics with both high sink and source capability. As inputs, Port B pins that are
externally pulled low will source current if the pull-up resistors are activated. The Port B pins are tri-stated when a
reset condition becomes active, even if the clock is not running.
Kiedyś czytałem że rezystory podciągające są dość spore i mogą pojawić się problemy. I trzeba zewnętrzne stosować..
Choć specyfikacja mówi że
1.1.3 Port B (PB5 : PB0)
Port B is a 6-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port B output buffers
have symmetrical drive characteristics with both high sink and source capability. As inputs, Port B pins that are
externally pulled low will source current if the pull-up resistors are activated. The Port B pins are tri-stated when a
reset condition becomes active, even if the clock is not running.
Kiedyś czytałem że rezystory podciągające są dość spore i mogą pojawić się problemy. I trzeba zewnętrzne stosować..
Arduino zostało wymyślone po to, by robić dobrze jedną prostą rzecz – migać diodą.