Project resurrect Innovate unit...

Started by Prof, August 29, 2010, 03:26:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Prof

Quote from: philiwily;715137Hi Prof. Thanks for that, never thought about the decimal point looking like an 8 if it was too fast.
I have been reading some tutorials and and im getting there but got a bit stumped I have assembled the 2 .asm files but the value table needs to be a .inc, can you point me in the right direction.
 
Phil

Hi Phil - just rename the lookup table file - I had to call it a txt file to load it on the site :(  It is a .inc on my pc...
 
I\'ve loaded up the lcd wiring diagram here as well.
"Plus this engine is probably one of the most volumetric engines going! It passes more air than a herd of cows eating vindaloo\'s" - courtesy of AtomicRex


philiwily

Thanks for the LCD diagram, perfect.
I tried that but now im getting lots of 113 errors.
Error[113]   C:\\PROJECTS\\AFR_METER_MAIN\\AFR_METER_CODE.ASM 65 : Symbol not previously defined (PCLATH)
Error[113]   C:\\PROJECTS\\AFR_METER_MAIN\\AFR_METER_CODE.ASM 99 : Symbol not previously defined (HELLO)
Error[113]   C:\\PROJECTS\\AFR_METER_MAIN\\AFR_METER_CODE.ASM 102 : Symbol not previously defined (AUTHOR)
Loads of these:D. I will leave it for a few days and let what i have learned sink in.
Don\'t leave the country:D

Phil

Prof

The code is in 2 parts, one part is the actual code, the other part - which has an include for that - has most of the definitions for variables.
 
Make the one with the variables the \'main\' project file, and then make sure that both the other files - the actual code and the table file have the same name as represented in that main file that includes them - if that makes sense.   I probably should have zipped up my directory - I\'ll do that when I get home tonight - as it has the project file for mpasm already there - and you can just click on \'build all\' and watch it compile ok :)
 
By the way - it will work with or without an LCD - and although it\'s coded for an 8x2 it will work with any 2 line lcd - it will just be squished up one one end that\'s all.  Without an LCD you still have 2 analog outputs:  0-4.7v and 1-0V (the latter will drive a standard \'cheap\' AFR gauge).
"Plus this engine is probably one of the most volumetric engines going! It passes more air than a herd of cows eating vindaloo\'s" - courtesy of AtomicRex


philiwily

Hi Prof.
My PICKit3 arrived today. Any chance you could send that zip to me.
My email is philipglancy at hotmail.com

Cheers Phil