loading common code questions???

Started by ford69557ci, January 30, 2016, 08:23:26 PM

ford69557ci

My lbb showed up today and I am havin trouble getting anything to upload to my arduino. no matter what i try it says error compiling when trying to uoload. Can some steer me in the right direction to get this thing up and running?

hakcenter

make sure you download the libraries too
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

ford69557ci


Arduino: 1.7.8 (Windows 8.1), Board: "Arduino Uno"

C:\Users\aaron\AppData\Local\Temp\build2627474889019181244.tmp/core.a(main.cpp.o): In function `main':

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:40: undefined reference to `setup'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `loop'

collect2.exe: error: ld returned 1 exit status

Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.



this is what i get

Rx7man

I've never used Arduino 1.7 or later.. I've always used 1.6

Perhaps something has changed in the way they compile that broke it, that doesn't look like a missing library kind of error
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

ford69557ci

I got it to compile and load. I had to load each section of the common code seperately into the sketch.. havent got it on the truck yet but at least its loaded up lol

Rx7man

Good news.. Let us know how it works when you get it installed :)
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

ford69557ci

ok everything is wired up and installed, code loaded but nothing works. I can make the actuator calibrate by setting to 0x02 but beyond that i have nothing. When i put it in serial monitor its just a bunch of gibberish lol but it is running. HEEELLLLLPPPP lol

hakcenter

make sure serial is set to 115200

Is it installed on a vehicle ?
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

ford69557ci

Yes it is installed now. I can get the actuators to calibrate and nothing else. On the monitor i can see it switching modes between brake, cruise, and performance. There is no response from the turbo. I have tried 3 different actuators. I have my can lines twisted. Im out of ideas

Rx7man

I just put a suggestion in the other thread, it'll dump the CAN data onto the serial monitor, which will help figuring out if we have communication problems
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles