kipyegonmark / mechanic

Automatically exported from code.google.com/p/mechanic
2 stars 0 forks source link

don't work wirh Arduino Duemilanove #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What do you see instead?

Arduino\libraries\Mechanic/Mechanic.h:34:2: error: #error Unsupported board. 
Please adjust library.

What version of the product are you using? On what operating system?
Arduino 1.0.5   Arduino Duemilanove

Original issue reported on code.google.com by alexande...@gmail.com on 19 Sep 2013 at 7:29

GoogleCodeExporter commented 8 years ago
I don't have a Duemilanove myself, but I added what I think is necessary to the 
code. Please give the current version from the repository a try. If you run 
into trouble please let me know which microcontroller your Duemilanove has (168 
or 328) and which shield you are using. Also, for the CANdiy shield, it's 
critical you solder the 2x3-pin SPI header because this is used for 
communication between the microcontroller and the CAN controller.

Original comment by joerg.pl...@gmail.com on 21 Sep 2013 at 8:53

GoogleCodeExporter commented 8 years ago

Original comment by joerg.pl...@gmail.com on 21 Sep 2013 at 9:01

GoogleCodeExporter commented 8 years ago

Original comment by joerg.pl...@gmail.com on 21 Sep 2013 at 4:09

GoogleCodeExporter commented 8 years ago
My Duemilanove uses an ATmega168 and i am applied tha CANdiy shield.
Where can i find the newer version? 

In: http://code.google.com/p/mechanic/downloads/list
i can only find the version 0.5, which seems to be from may, 21st.

Thanks in advance!

Original comment by alexande...@gmail.com on 23 Sep 2013 at 8:45

GoogleCodeExporter commented 8 years ago
The new version is in the repository ("source"), but not yet available as a
release on the downloads page. If you don't know how to access the
repository I can send you a ZIP file later.

Original comment by joerg.pl...@gmail.com on 23 Sep 2013 at 1:41

GoogleCodeExporter commented 8 years ago
...got the new version.. replaced the lib. now the following in the example 
"TwoLineLcdDisplay" appears:

TwoLineLcdDisplay:38: error: 'ObdInterface' does not name a type
TwoLineLcdDisplay:39: error: 'ObdMessage' does not name a type
TwoLineLcdDisplay.ino: In function 'void setup()':
TwoLineLcdDisplay:45: error: 'obd' was not declared in this scope
TwoLineLcdDisplay.ino: In function 'void loop()':
TwoLineLcdDisplay:58: error: 'obd' was not declared in this scope

Original comment by alexande...@gmail.com on 24 Sep 2013 at 10:13

GoogleCodeExporter commented 8 years ago
I suspect the files are not in the right directory structure. It should look 
like this:

Quantum-Leap:Mechanic joerg$ pwd
/Users/joerg/Arduino/libraries/Mechanic
Quantum-Leap:Mechanic joerg$ ls -l
total 112
-rw-r--r--   1 joerg  staff  26530  2 Jan  2013 LICENSE
-rw-r--r--   1 joerg  staff  11202  9 Sep 17:33 Mechanic.cpp
-rw-r--r--   1 joerg  staff   9880 22 Sep 18:27 Mechanic.h
-rw-r--r--   1 joerg  staff   1714 21 Sep 10:16 README
drwxr-xr-x   8 joerg  staff    272 22 Sep 13:59 can
drwxr-xr-x  15 joerg  staff    510  5 Sep 20:43 examples

That is, inside the Arduino libraries folder there should be a Mechanic folder, 
which, in turn contains the Mechanic.* source files. Please check. I have also 
attached what could become version 0.6 to this ticket. Maybe give this a try.

Original comment by joerg.pl...@gmail.com on 24 Sep 2013 at 6:16

Attachments: