-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hello,
Can you help me about ATTiny10IDE,
Running ATTiny10IDE, following the instructions on how to produce code for arduino.
I using Windows 10, with only 1 java version on my PC.
64-bit Java for Windows Version 8 Update 391 (filesize: 64.37 MB),
to test I use the Arduino sample from ATTiny10IDE:
#pragma chip attiny10
#pragma efuse 0xFF // default value
#pragma hfuse 0xDF // default value
#pragma lfuse 0x62 // default value
#include "Arduino.h"
void setup() {
pinMode(2, OUTPUT); // Setup pin 4 as an OUTPUT
}
void loop() {
digitalWrite(2, HIGH); // Turn on LED on pin 4
delay(500);
digitalWrite(2, LOW); // Turn off LED on pin 4
delay(500);
}
When click on build I receive this error, even when I reinstall Toolchain.
Compile error (see Error Info pane for details)
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Here the error listed from ATTiny10IDE:
os.name: windows 10
os: WIN
Stack Trace:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at ATTinyC.lambda$null$11(ATTinyC.java:578)
at java.lang.Thread.run(Unknown Source)
Thank you for your time.
