Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Arduino code questions

Pages: [1]
Author Topic: Arduino code questions
kduff9
Member
Posts: 3
Post Arduino code questions
on: January 16, 2017 (GMT)

I’ve just started working with Torque and Arduino, using the code example in the Wiki.
Lots of questions, but I wanted to start with this-

In the code section-

void getConfiguration() {
mySerial.print(CONFIGURATION);
}

with the CONFIGURATION string set to –
“NO_CAR_SENSORS,NO_DEVICE_SENSORS”

I’ve inserted code to verify the ‘void’ is running and the string is set correctly.
Does this mean that when Torque is connected to the Arduino and I add a new gauge/dial, that the only items I have to choose from are the three in the example code?

“0”, ANALOG, IS_INPUT, “-“, “Pot 1”, “Potentiometer 1”, “v”, “0”, “5”,
“1”, ANALOG, IS_INPUT, “-“, “LDR 1”, “Light Sensor 1”, “v”, “0”, “5”,
“4”, DIGITAL,IS_OUTPUT, “0”, “Dout1”, “Digital Out 1”, “bit”, “0”, “1”

I can see these three items, but I also see a lot of other device and car choices.
I’m thinking they should be hidden?
I’m running an Arduino UNO and Torque version 1.8.154 on a Samsung S7 Active.

Thanks, Clark

nkemp
Member
Posts: 33
Post Re: Arduino code questions
on: April 4, 2017 (GMT)

Mine works similar to yours. I have loaded a set of custom PIDs for my daily driver and it seems that those are not displayed but a bunch of others are.

So not much help other than indicating similar confusing operation.

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.009 seconds.

  Follow me on twitter