Lil' Blackbox

General => General Discussion => Topic started by: ford69557ci on January 30, 2016, 08:23:26 PM

Title: loading common code questions???
Post by: ford69557ci on January 30, 2016, 08:23:26 PM
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?
Title: Re: loading common code questions???
Post by: hakcenter on January 30, 2016, 11:09:36 PM
make sure you download the libraries too
Title: Re: loading common code questions???
Post by: ford69557ci on January 31, 2016, 07:03:44 AM

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
Title: Re: loading common code questions???
Post by: Rx7man on January 31, 2016, 09:14:11 AM
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
Title: Re: loading common code questions???
Post by: ford69557ci on January 31, 2016, 10:40:21 AM
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
Title: Re: loading common code questions???
Post by: Rx7man on January 31, 2016, 10:51:44 AM
Good news.. Let us know how it works when you get it installed :)
Title: Re: loading common code questions???
Post by: ford69557ci on February 01, 2016, 10:00:31 AM
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
Title: Re: loading common code questions???
Post by: hakcenter on February 01, 2016, 05:48:27 PM
make sure serial is set to 115200

Is it installed on a vehicle ?
Title: Re: loading common code questions???
Post by: ford69557ci on February 02, 2016, 11:46:08 AM
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
Title: Re: loading common code questions???
Post by: Rx7man on February 02, 2016, 07:10:11 PM
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