Hello, have not got the digispark yet, its on the way, but I have tinkered with a simple program and just wanted to see that it was all right but when I pushed "verify" I got this:
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\\Documents\Arduino\libraries -fqbn=digistump:avr:digispark-tiny -ide-version=10819 -build-path C:\Users\\AppData\Local\Temp\arduino_build_294628 -warnings=none -build-cache C:\Users\\AppData\Local\Temp\arduino_cache_712288 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.avr-gcc-4.8.1-arduino5.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.micronucleus.path=C:\Users\\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -prefs=runtime.tools.micronucleus-2.0a4.path=C:\Users\\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -verbose C:\Users\\AppData\Local\Temp\arduino_modified_sketch_100749\sketch_feb05a_batteri2.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\\Documents\Arduino\libraries -fqbn=digistump:avr:digispark-tiny -ide-version=10819 -build-path C:\Users\\AppData\Local\Temp\arduino_build_294628 -warnings=none -build-cache C:\Users\\AppData\Local\Temp\arduino_cache_712288 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.avr-gcc-4.8.1-arduino5.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.micronucleus.path=C:\Users\\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -prefs=runtime.tools.micronucleus-2.0a4.path=C:\Users\\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -verbose C:\Users\\AppData\Local\Temp\arduino_modified_sketch_100749\sketch_feb05a_batteri2.ino
Using board 'digispark-tiny' from platform in folder: C:\Users\\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7
Using core 'tiny' from platform in folder: C:\Users\\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7
Detecting libraries used...
"C:\\Users\\\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=16500000L -DARDUINO=10819 -DARDUINO_AVR_DIGISPARK -DARDUINO_ARCH_AVR "-IC:\\Users\\\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\cores\\tiny" "-IC:\\Users\\\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\variants\\digispark" "C:\\Users\\\\AppData\\Local\\Temp\\arduino_build_294628\\sketch\\sketch_feb05a_batteri2.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=16500000L -DARDUINO=10819 -DARDUINO_AVR_DIGISPARK -DARDUINO_ARCH_AVR "-IC:\\Users\\\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\cores\\tiny" "-IC:\\Users\\\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\variants\\digispark" "C:\\Users\\\\AppData\\Local\\Temp\\arduino_build_294628\\sketch\\sketch_feb05a_batteri2.ino.cpp" -o "C:\\Users\\\\AppData\\Local\\Temp\\arduino_build_294628\\preproc\\ctags_target_for_gcc_minus_e.cpp"
open C:\Users\\AppData\Local\Temp\arduino_build_294628\preproc\ctags_target_for_gcc_minus_e.cpp: File can not be found.
Error compiling for board Digispark (Default - 16.5mhz).
What I have done:
- Updated IDE to latest version
- Deleted everything in the ..Arduino15 folder except preferences.txt
- Re installed the board digispark. Gets an error that it doesn't run at .BAT file but I have run that afterwards and its just drivers. Every driver will be installed there except one that I believe will be installed the first time the digispark board is connected.
But shouldn't it be able to verify the program anyway?
Ok you can get the program as well so won't there be any questions where that is, not finished what so ever:
int mosfet = 0;
int button = 4;
int pwm = 255; // PWM 0 - 255
void setup() {
pinMode(mosfet, OUTPUT);
pinMode(button, INPUT);
}
void loop() {
check_button
}
void check_button () {
}
I have not seen many with this problem at a search and the install should jut be a breeze, but nope.