You should be able to select and copy it and paste it into wordpad, or the arduino ide
Andrew, your code is very difficult to read on my puter. Is there another location on the web you have it available to download where it's easier to see the type??
Current rides: 2013 Suzuki GSX600R, '96 Honda Ohlins VFR, '03 Cannondale C440R, '03 Cannondale Cannibal, '06 Yamaha 450 Wolverine 4x4
Current builds: eVOR.v3.4
WORX.VOR.v3.2
You should be able to select and copy it and paste it into wordpad, or the arduino ide
-Andrew
http://www.andrewdoran.com
mail(at)andrewdoran.com
My ElMoto Project "Electric Hurricane" - 1987 Honda CBR600 F1: Check out my Build ALBUM
My ICE Cafe Racer Project "My Precious" - 1983 Honda CM400 Classic
Did you write it all from scratch, or did you copy and paste it together from different sources? I'm trying to learn the structure of how to put multiple sketches together, or add a new sketch to a working program without fouling the whole thing up. It seems similar to HTML
Current rides: 2013 Suzuki GSX600R, '96 Honda Ohlins VFR, '03 Cannondale C440R, '03 Cannondale Cannibal, '06 Yamaha 450 Wolverine 4x4
Current builds: eVOR.v3.4
WORX.VOR.v3.2
I wrote it, but in small chunks. If you break it down, one function at a time, it comes together pretty easily.
You need to learn the structure, where the variables, pins, etc need to be defined, and what goes in the loop.
you'll see that I structured it with a small section for each function at the end. These are basically subroutines than can be called using the function name. This keeps the loop less cluttered, and easier to manage.
once you have the structure figured out, you can search for tutorials or samples to achieve what you need, try it out in a separate sketch, then add the bits where they belong in your main program.
This is basically the fake it til you make it coding technique. I learn each more complicated bit of coding as I need it. It probably won't be the cleanest code to start with. It can be refined or rewritten when you have a decent beta version working. I think the coding language is C++ (at least when it is compiled)
Last edited by furyphoto; 08 January 2018 at 2321.
-Andrew
http://www.andrewdoran.com
mail(at)andrewdoran.com
My ElMoto Project "Electric Hurricane" - 1987 Honda CBR600 F1: Check out my Build ALBUM
My ICE Cafe Racer Project "My Precious" - 1983 Honda CM400 Classic
This is a super cool project. I've been lurking a long time and posting at ES under the same name here. I'd personally like to see some plausibility and safety checks integrated. Is kickstand up? Is throttle in a reasonable range for enabling main contactor? Stuff like that. Maybe even precharge checking.
Hi,
This is a very good project and I am wondering how your progress is going?
Cheers
Here's another thread revive on this. I am tinkering again, and have added a Nextion Touch Screen into the mix. The RFID igniton on my ICE kicked the bucket this past summer, so I am doing a complete rewire, and replacing all of the analogue gauges and warning lights with this Touch Screen Human Machine Interface.
-Andrew
http://www.andrewdoran.com
mail(at)andrewdoran.com
My ElMoto Project "Electric Hurricane" - 1987 Honda CBR600 F1: Check out my Build ALBUM
My ICE Cafe Racer Project "My Precious" - 1983 Honda CM400 Classic
Bookmarks