OneWire on ATtiny84

Hi,
I want to report success using OneWire on an ATtiny84a.
My ATtiny is configured as clockwise pin mapping.
The data pin of a OneWire component (e.g. temperature sensor DS18B20) shall be physical pin 11 which is PA2, ADC2.

It is important to instantiate with
DS18B20 ds(2);

The pin mapping of ATtiny84a allows 2 or A2 for physical pin 11. But OneWire software will not drive pin 11 with
DS18B20 ds(A2);

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.