Show Posts
Pages: [1]
1  Using Arduino / Installation & Troubleshooting / Re: Saving a sketch with version 1.0.5 on: November 21, 2013, 05:29:46 pm
Hello John

It doesn't matter whether it is a new sketch or one of the examples. I have the program folder on my F: drive under
F:\arduino\arduino-1.0.5 and if I try to save into the examples folder it gives me the error message. If it is a NEW sketch it will let me save there one time under the new sketch name. If I make corrections  or updates to the new sketch and try and save the updates to the same file, it says the file is locked and I have to rename the file or save it some where else. If I go back and do the same thing using ver 1.0.1 I have no problems. If I look at the attributes for the files in the Examples directory they are all locked. I have tried to unlock even the new file I created and it still shows locked. Now if I create a new Folder called F:\arduino\arduino-1.0.5\My Sketches under the main folder and save my new sketches there, I can save files to that all day long with no problems. So it looks like the program is locking the example and library folders/files from being over written.

Thank you

John Frankforther
2  Using Arduino / Microcontrollers / Re: How to program ATtiny45 with Arduino Leonardo as ISP on: December 12, 2012, 04:17:50 am
Thank you for verifying that Peter. That was driving me nuts as everything I found said it would work. Believe me I tried a lot of things. Once I purchased the Uno ver 3 it worked the first time.

John
3  Using Arduino / Microcontrollers / Re: How to program ATtiny45 with Arduino Leonardo as ISP on: December 06, 2012, 09:02:12 pm
I have tried that core too. I went back in and changed the PROGRAMMER to Leonardo as ISP  in ver 1.0.1 and it gave me this error:

Binary sketch size: 824 bytes (of a 4,096 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00

I am new to Arduino and don't have a clue why this isn't working. If I can get it working then I will make a programming shield for it.
I must be missing something!!!

John
4  Using Arduino / Microcontrollers / Re: How to program ATtiny45 with Arduino Leonardo as ISP on: December 06, 2012, 06:44:30 pm
I have an Arduino Leonardo, trying to program the ATtiny45 chip. I have connected the programming wires to the ICSP pins as directed. I am using Arduino 1.0.1 software in Windoes XP Home SP 3. I have changed the #defin RESET   SS to 10 in the ArduinoISPM sketch and compiled that using the Leonardo board. Then I loaded the blink sketch and changed the led to 0. I compiled to the ATtiny45(8 mhz internal clock) and got the following error:

Binary sketch size: 830 bytes (of a 4,096 byte maximum)
avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc


I just tried Arduino 1.0.2 software and got this error message when trying to load the Blink program:

In file included from F:\Arduino\hardware\arduino\cores\arduino/Arduino.h:193, from Blink.ino:10:
F:\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:125:2: error: #error TXC0 not definable in HardwareSerial.h


I have just purchased 50 of these chips and hope I don't have to buy a programmer or an Arduino UNO to make them work!!
Any ideas???

John
Pages: [1]