A wiec przerobilem program na attiny85 ale wywala blad
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "ATtiny85 (internal 8 MHz clock)"
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn85.o:(.init9+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_exit.o)
ds18b20_ctc_attiny85.cpp.o: In function `loop':
C:\Program Files (x86)\Arduino/ds18b20_ctc_attiny85.ino:44: relocation truncated to fit: R_AVR_13_PCREL against symbol `__gesf2' defined in .text.fplib section in c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25\libm.a(gesf2.o)
język cpp
Musisz się zalogować, aby zobaczyć kod źródłowy. Tylko zalogowani użytkownicy mogą widzieć kod.
Może go ktos sprawdzuc u siebie?
A teraz mam taki blad
C:\Program Files (x86)\Arduino\libraries\OneWire\OneWire.cpp: In constructor 'OneWire::OneWire(uint8_t)':
C:\Program Files (x86)\Arduino\libraries\OneWire\OneWire.cpp:123: error: 'digitalPinToBitMask' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\OneWire\OneWire.cpp:124: error: 'digitalPinToPort' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\OneWire\OneWire.cpp:124: error: 'portInputRegister' was not declared in this scope