netmaniac / arduino-tiny

Automatically exported from code.google.com/p/arduino-tiny
0 stars 5 forks source link

Patch for /trunk/libraries/TinyTuner/TinyTuner.h #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Adding the getState() function back

Original issue reported on code.google.com by fmail...@gmail.com on 22 May 2013 at 8:39

Attachments:

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load the example "Interactive_with_NewSoftSerial"
2. Compile it from Arduino IDE

What is the expected output? What do you see instead?
The code doesn't compile with the error:
Interactive_with_NewSoftSerial:52: error: ‘class Tiny85Tuner’ has no member 
named ‘getState’

What version of the product are you using? On what operating system?
Arduino IDE 1.5 on Linux

Please provide any additional information below.
I updated the example code to include and use "SoftwareSerial" instead of 
"NewSoftSerial" since I think yours is now integrated with the IDE under that 
name.
Also changed the class name from Tiny84Tuner to Tiny85Tuner to match my mcu. I 
looked into the TinyTuner. The missing function exist in the first revesion of 
the file (r38) but was removed later. Adding that function back solves the 
issue. (However, the whole thing still doesn't work which i couldn't figure out 
why)

Original comment by fmail...@gmail.com on 22 May 2013 at 8:42