keep getting this error, not sure what it means.
expected constructor, destructor, or type conversion before '(' token
Try Tools>Auto Format in the IDE, or T is the keyboard shortcut, that helps with spotting errors.
Most likely you left out a ; or } in the code somewhere prior to where the error is getting flagged.
IIRC that indicates a function call placed outside of any functions, which is not valid C (you can only call a constructor there, in the process of defining a global variable of the appropriate type).
This could either be because of mismatched {}'s ending a function before you intended to (which ctrl+T will make obvious) or because you didn't realize that you can't have code outside of a function.
Heh. The error message should say: Syntax Error.
I want to thank ya'll for helping me with the learning curve I am facing. At 64, it is sometimes frustrating, but, I don't give up!! lol!!
The next question I have is, what "Control Action" commands are available with the ATtiny85? All of the input and output functions I need seem to be there, but I see NOTHING regarding program control functions, such as if, if, else, etc... Are these included in the boot-loader, and where would I find the documentation on what is included?
Thank you in advance!!
Taz...
Can you re-frame your question?
The reference to the bootloader confused me.
There are limited instruction sets using the ATtiny85(4 pin). Where can I find out what control instructions are available to use. I don't know how else to phrase it. Sorry...
All of the input and output functions I need seem to be there, but I see NOTHING regarding program control functions, such as if, if, else, etc
Perhaps I have also misunderstood your question but have you read Arduino reference ?
Yes, and I also have seen where not all functions are available to the ATtiny85. IS THIS NOT TRUE??
I have found the answer, thank you!! It has most of the functions, but, no I2C, and a couple more that I do not need for this project. Thank you all... I will consult with all of you genius minds again when I run into more questions... lol!!! it's obvious I'm a dummy, so please bear with me during my learning cycles with this... it's hard to teach an old dog new tricks, but, I am really trying hard to get this down...
Have a great DAY!!!
Taz..
Retired_Phart:
I have found the answer, thank you!! It has most of the functions, but, no I2C, and a couple more that I do not need for this project. Thank you all... I will consult with all of you genius minds again when I run into more questions... lol!!! it's obvious I'm a dummy, so please bear with me during my learning cycles with this... it's hard to teach an old dog new tricks, but, I am really trying hard to get this down...Have a great DAY!!!
Taz..
Tiny85 does indeed support I2C.
You will need a programmer in order to use tiny85, or get a device that builds in usb, such as digispark or trinket. An Arduino board can be used as a programmer.