- Sat Apr 04, 2015 2:59 am
#416
I have tried to follow the instructions and asked a more knowledgeable friend to try too and he can't get the code to compile either. Maybe I just don't understand how github works.
Hate to admit it but some of the terms in the instructions are unknown to me:
for instance: "Using git to clone the repo is recommended as you can get updates easily, however you can also download a in time snapshot ZIP if you'd prefer".
I clicked the "Download Zip" button at the url: https://github.com/noisymime/speeduino
I extracted it to a location arduino/arduino1.0/speeduino. I unzipped it there where it created a folder named something like speeduino-master which had a whole bunch of files in it.
So, I copied all those files up one level to arduino/arduino1.0/speeduino.
Then I copied the 4 libraries that came with the download into the arduino1.0/libraries folder.
Then I opened the arduino ide and loaded the sketch "speeduino.ino".
When I try to compile, I get these errors:
--------------------------------------------------------------------------------------
In file included from speeduino.cpp:30:
C:\Users\ztpete\New My Documents\Arduino\arduino-1.0\libraries\digitalIOPerformance/digitalIOPerformance.h: In function 'void pinModeSafe(uint8_t, uint8_t)':
C:\Users\ztpete\New My Documents\Arduino\arduino-1.0\libraries\digitalIOPerformance/digitalIOPerformance.h:65: error: 'INPUT_PULLUP' was not declared in this scope
C:\Users\ztpete\New My Documents\Arduino\arduino-1.0\libraries\digitalIOPerformance/digitalIOPerformance.h: In function 'void pinModeFast(uint8_t, uint8_t)':
C:\Users\ztpete\New My Documents\Arduino\arduino-1.0\libraries\digitalIOPerformance/digitalIOPerformance.h error: 'INPUT_PULLUP' was not declared in this scope
-----------------------------------------------------------------------
My goal is to build a replacement ignition controller for an old OMC snowmobile engine powered ATV. It's a 2 cylinder 2 stroke, basically a wasted spark system. I have built a bench type hall effect "flywheel simulator" (using an Arduino, naturally) and have it sending simple trigger pulses to another Arduino that figures rpms and sends out trigger commands to an old Audi COP pack and that all works properly. So, what I thought I'd do here is to carve off all the fancy things that I won't need from your firmware, and, as you can see that's where I have run aground.
Can you please put me on the right path?
Pete Stanaitis
www.spaco.org
Hate to admit it but some of the terms in the instructions are unknown to me:
for instance: "Using git to clone the repo is recommended as you can get updates easily, however you can also download a in time snapshot ZIP if you'd prefer".
I clicked the "Download Zip" button at the url: https://github.com/noisymime/speeduino
I extracted it to a location arduino/arduino1.0/speeduino. I unzipped it there where it created a folder named something like speeduino-master which had a whole bunch of files in it.
So, I copied all those files up one level to arduino/arduino1.0/speeduino.
Then I copied the 4 libraries that came with the download into the arduino1.0/libraries folder.
Then I opened the arduino ide and loaded the sketch "speeduino.ino".
When I try to compile, I get these errors:
--------------------------------------------------------------------------------------
In file included from speeduino.cpp:30:
C:\Users\ztpete\New My Documents\Arduino\arduino-1.0\libraries\digitalIOPerformance/digitalIOPerformance.h: In function 'void pinModeSafe(uint8_t, uint8_t)':
C:\Users\ztpete\New My Documents\Arduino\arduino-1.0\libraries\digitalIOPerformance/digitalIOPerformance.h:65: error: 'INPUT_PULLUP' was not declared in this scope
C:\Users\ztpete\New My Documents\Arduino\arduino-1.0\libraries\digitalIOPerformance/digitalIOPerformance.h: In function 'void pinModeFast(uint8_t, uint8_t)':
C:\Users\ztpete\New My Documents\Arduino\arduino-1.0\libraries\digitalIOPerformance/digitalIOPerformance.h error: 'INPUT_PULLUP' was not declared in this scope
-----------------------------------------------------------------------
My goal is to build a replacement ignition controller for an old OMC snowmobile engine powered ATV. It's a 2 cylinder 2 stroke, basically a wasted spark system. I have built a bench type hall effect "flywheel simulator" (using an Arduino, naturally) and have it sending simple trigger pulses to another Arduino that figures rpms and sends out trigger commands to an old Audi COP pack and that all works properly. So, what I thought I'd do here is to carve off all the fancy things that I won't need from your firmware, and, as you can see that's where I have run aground.
Can you please put me on the right path?
Pete Stanaitis
www.spaco.org