View Single Post
Old 06-04-2011, 07:35 AM   #33 (permalink)
archat68
EcoModding Lurker
 
Join Date: Apr 2011
Location: India
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
http://opengauge.googlecode.com/svn/...obduino32K.pde

I'm trying to use this code for use with a serial cable - while compiling I'm getting errors. I'm using Arduino 22. I'vce little knowledge with programming, so please help me out
Quote:
sketch_jun04a:363: error: 'byte' does not name a type
sketch_jun04a:364: error: 'byte' does not name a type
sketch_jun04a:365: error: 'byte' has not been declared
sketch_jun04a:368: error: 'byte' has not been declared
sketch_jun04a:397: error: 'byte' does not name a type
sketch_jun04a:405: error: 'byte' does not name a type
sketch_jun04a:413: error: 'byte' does not name a type
sketch_jun04a:723: error: 'byte' does not name a type
sketch_jun04a:788: error: 'byte' does not name a type
sketch_jun04a:796: error: 'byte' does not name a type
sketch_jun04a:797: error: 'byte' does not name a type
sketch_jun04a:798: error: 'boolean' does not name a type
sketch_jun04a:799: error: 'byte' does not name a type
sketch_jun04a:800: error: 'byte' does not name a type
sketch_jun04a:801: error: 'byte' does not name a type
sketch_jun04a:802: error: 'byte' does not name a type
sketch_jun04a:805: error: 'byte' does not name a type
sketch_jun04a:806: error: 'byte' does not name a type
sketch_jun04a:810: error: 'byte' does not name a type
sketch_jun04a:811: error: 'byte' does not name a type
sketch_jun04a:868: error: too many initializers for 'screen_t'
sketch_jun04a:868: error: too many initializers for 'screen_t'
sketch_jun04a:868: error: too many initializers for 'screen_t'
sketch_jun04a:868: error: too many initializers for 'params_t'
sketch_jun04a:904: error: 'byte' does not name a type
sketch_jun04a:919: error: 'byte' does not name a type
sketch_jun04a:928: error: 'byte' does not name a type
sketch_jun04a:932: error: 'byte' does not name a type
sketch_jun04a:935: error: 'byte' does not name a type
sketch_jun04a:936: error: 'byte' does not name a type
sketch_jun04a:983: error: 'boolean' does not name a type
sketch_jun04a:992: error: 'byte' does not name a type
sketch_jun04a:993: error: 'boolean' does not name a type
sketch_jun04a:1014: error: expected constructor, destructor, or type conversion before '(' token
sketch_jun04a.cpp: In function 'void serial_rx_on()':
sketch_jun04a:1149: error: 'Serial' was not declared in this scope
sketch_jun04a.cpp: In function 'void serial_tx_off()':
sketch_jun04a:1160: error: 'delay' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:1171: error: 'boolean' does not name a type
sketch_jun04a:1196: error: variable or field 'iso_write_byte' declared void
sketch_jun04a:1196: error: 'byte' was not declared in this scope
sketch_jun04a:1205: error: 'byte' does not name a type
sketch_jun04a:1214: error: variable or field 'iso_write_data' declared void
sketch_jun04a:1214: error: 'byte' was not declared in this scope
sketch_jun04a:1214: error: 'data' was not declared in this scope
sketch_jun04a:1214: error: 'byte' was not declared in this scope
sketch_jun04a:1252: error: 'byte' does not name a type
sketch_jun04a.cpp: In function 'void iso_init()':
sketch_jun04a:1290: error: 'millis' was not declared in this scope
sketch_jun04a:1298: error: 'byte' was not declared in this scope
sketch_jun04a:1298: error: expected `;' before 'ISOSteps'
sketch_jun04a:1309: error: 'ISO_InitStep' was not declared in this scope
sketch_jun04a:1312: error: 'ECUconnection' was not declared in this scope
sketch_jun04a:1323: error: 'digitalWrite' was not declared in this scope
sketch_jun04a:1327: error: 'ISOSteps' was not declared in this scope
sketch_jun04a:1337: error: expected `;' before 'b'
sketch_jun04a:1339: error: 'Serial' was not declared in this scope
sketch_jun04a:1343: error: expected `;' before 'i'
sketch_jun04a:1343: error: 'i' was not declared in this scope
sketch_jun04a:1344: error: 'b' was not declared in this scope
sketch_jun04a:1344: error: 'iso_read_byte' was not declared in this scope
sketch_jun04a:1347: error: 'b' was not declared in this scope
sketch_jun04a:1359: error: expected `;' before 'b'
sketch_jun04a:1362: error: 'b' was not declared in this scope
sketch_jun04a:1362: error: 'iso_read_byte' was not declared in this scope
sketch_jun04a:1376: error: 'delay' was not declared in this scope
sketch_jun04a:1379: error: 'iso_write_byte' was not declared in this scope
sketch_jun04a:1386: error: expected `;' before 'i'
sketch_jun04a:1386: error: 'i' was not declared in this scope
sketch_jun04a:1400: error: 'ECUconnection' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:1622: error: 'byte' does not name a type
sketch_jun04a:1629: error: 'boolean' does not name a type
sketch_jun04a:1662: error: 'boolean' does not name a type
sketch_jun04a:2033: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void long_to_dec_str(long int, char*, int)':
sketch_jun04a:2035: error: 'byte' was not declared in this scope
sketch_jun04a:2035: error: expected `;' before 'pos'
sketch_jun04a:2040: error: 'pos' was not declared in this scope
sketch_jun04a:2042: error: expected `;' before 'i'
sketch_jun04a:2042: error: 'i' was not declared in this scope
sketch_jun04a:2049: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2049: error: 'struct params_t' has no member named 'use_comma'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2164: error: 'byte' does not name a type
sketch_jun04a.cpp: In function 'void clear_icons_tvss()':
sketch_jun04a:2168: error: 'byte' was not declared in this scope
sketch_jun04a:2168: error: expected `;' before 'i'
sketch_jun04a:2168: error: 'i' was not declared in this scope
sketch_jun04a:2169: error: 'tvss' was not declared in this scope
sketch_jun04a.cpp: In function 'void clear_icons_tmaf()':
sketch_jun04a:2173: error: 'byte' was not declared in this scope
sketch_jun04a:2173: error: expected `;' before 'i'
sketch_jun04a:2173: error: 'i' was not declared in this scope
sketch_jun04a.cpp: In function 'unsigned int get_icons(char*)':
sketch_jun04a:2181: error: 'byte' was not declared in this scope
sketch_jun04a:2181: error: expected `;' before 'nb_entry'
sketch_jun04a:2184: error: 'struct params_t' has no member named 'per_hour_speed'
sketch_jun04a:2187: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2197: error: expected `;' before 'i'
sketch_jun04a:2197: error: 'i' was not declared in this scope
sketch_jun04a:2199: error: 'tvss' was not declared in this scope
sketch_jun04a:2202: error: 'nb_entry' was not declared in this scope
sketch_jun04a:2205: error: 'nb_entry' was not declared in this scope
sketch_jun04a:2207: error: 'struct params_t' has no member named 'fuel_adjust'
sketch_jun04a:2223: error: 'boolean' was not declared in this scope
sketch_jun04a:2223: error: expected `;' before 'lowSpeed'
sketch_jun04a:2227: error: 'lowSpeed' was not declared in this scope
sketch_jun04a:2230: error: 'struct params_t' has no member named 'speed_adjust'
sketch_jun04a:2243: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2245: error: 'lowSpeed' was not declared in this scope
sketch_jun04a:2271: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2274: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2274: error: 'lowSpeed' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2291: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'unsigned int get_cons(char*, int)':
sketch_jun04a:2307: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2328: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2357: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2367: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2384: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_fuel(char*, int)':
sketch_jun04a:2394: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2407: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2422: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_waste(char*, int)':
sketch_jun04a:2432: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2445: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2460: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_dist(char*, int)':
sketch_jun04a:2470: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2483: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: In function 'void get_remain_dist(char*)':
sketch_jun04a:2518: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2531: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2544: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_max_vss(char*, int)':
sketch_jun04a:2549: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a:2561: error: 'struct params_t' has no member named 'use_metric'
sketch_jun04a.cpp: In function 'void accu_trip()':
sketch_jun04a:2578: error: 'byte' does not name a type
sketch_jun04a:2579: error: 'byte' does not name a type
sketch_jun04a:2580: error: 'byte' was not declared in this scope
sketch_jun04a:2580: error: expected `;' before 'throttle_pos'
sketch_jun04a:2581: error: expected `;' before 'open_load'
sketch_jun04a:2588: error: 'PIDCacheCount' was not declared in this scope
sketch_jun04a:2595: error: 'millis' was not declared in this scope
sketch_jun04a:2603: error: 'get_pid' was not declared in this scope
sketch_jun04a:2612: error: expected `;' before 'i'
sketch_jun04a:2612: error: 'i' was not declared in this scope
sketch_jun04a:2623: error: 'has_rpm' was not declared in this scope
sketch_jun04a:2638: error: 'get_pid' was not declared in this scope
sketch_jun04a:2640: error: 'throttle_pos' was not declared in this scope
sketch_jun04a:2640: error: expected `;' before 'tempLong'
sketch_jun04a:2642: error: 'min_throttle_pos' was not declared in this scope
sketch_jun04a:2651: error: 'get_pid' was not declared in this scope
sketch_jun04a:2653: error: 'open_load' was not declared in this scope
sketch_jun04a:2660: error: 'throttle_pos' was not declared in this scope
sketch_jun04a:2660: error: 'min_throttle_pos' was not declared in this scope
sketch_jun04a:2660: error: 'open_load' was not declared in this scope
sketch_jun04a:2668: error: 'is_pid_supported' was not declared in this scope
sketch_jun04a:2671: error: 'get_pid' was not declared in this scope
sketch_jun04a:2692: error: 'get_pid' was not declared in this scope
sketch_jun04a:2694: error: 'get_pid' was not declared in this scope
sketch_jun04a:2696: error: 'get_pid' was not declared in this scope
sketch_jun04a:2708: error: 'struct params_t' has no member named 'eng_dis'
sketch_jun04a:2725: error: 'struct params_t' has no member named 'fuel_adjust'
sketch_jun04a:2726: error: expected `;' before 'i'
sketch_jun04a:2726: error: 'i' was not declared in this scope
sketch_jun04a:2743: error: 'tvss' was not declared in this scope
sketch_jun04a:2743: error: 'tindex' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2756: error: 'byte' has not been declared
sketch_jun04a.cpp: In function 'void get_pid_internal(char*, int)':
sketch_jun04a:2768: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2770: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2772: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2774: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2776: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2778: error: 'get_trip_time' was not declared in this scope
sketch_jun04a:2786: error: 'get_engine_on_time' was not declared in this scope
sketch_jun04a:2834: error: 'nbpid_per_second' was not declared in this scope
sketch_jun04a:2840: error: 'eco_visual' was not declared in this scope
sketch_jun04a:2843: error: 'get_pid' was not declared in this scope
sketch_jun04a.cpp: At global scope:
sketch_jun04a:2846: error: variable or field 'display' declared void
sketch_jun04a:2846: error: 'byte' was not declared in this scope
sketch_jun04a:2846: error: 'byte' was not declared in this scope
  Reply With Quote