Créer un nouvel onglet et variable pour Speeduino et TunerStudio

 Créer des nouvelles options entre TunerStudio est Speeduino

Amesi5Project Throttle Body 
View Help 
AmesisProject Throttle Body 
he APthrottla80dy here is in experimental alpha version 
APThrottleBody Enabled 
Burn 
mesisProjec


Projet officiel :

https://github.com/noisymime/speeduino

Mon Projet modifié : https://github.com/AmesisProject/speeduino

Logiciel cartographie : TunerStudio

Logiciel pour modifier le code : Visual Studio Cade



Fichiers concernés 


 

speeduino.ini 


Dans le bloque  [Constants] il y a des "page = x " c'est pages sont des blocs de mémoire de l'arduino du speeduino pour être cohérent avec TunerStudio.

Fichier Edition Sélection 
EXPLORATEUR 
Affichage 
Atteindre Exécuter Terminal 
speeduino 
reference > speeduino 
Aide 
st l.ini 
Uxbbb 
speeduino test I.ini - speeduino - Visual Studio Code 
oxb 04 
Uxbb3 
X speeduino test 1 .ini reference 
exbeb , 
oxdb8 
"6%738", 
"€x7€2", "0x7B3", 
> lib 
I.e, 
-22.23 
ve.4' 
, "INVALID", "INVALID" , 
"Adafruit 128x64" , "Generic 128x64 
"IAT" "CLT" 
" "Mem" 
"VE , 
"IAT" "CLT" 
" "Mem" 
"RPM" "PW", "Advance 
"VE , 
"IAT" "CLT" 
"RPM" "PW", "Advance" 
"IAT" "CLT" 
"RPM" "PW", "Advance" 
"IAT" "CLT" 
{9} 
25.5 
242 
243 
245 
246 
247 
249 
258 
251 
252 
253 
254 
255 
257 
258 
259 
268 
261 
262 
263 
265 
266 
267 
268 
269 
278 
271 
272 
275 
276 
277 
278 
279 
280 
281 
282 
283 
284 
285 
286 
287 
288 
289 
define cup.' ADDRESS 
*define cup.' ADDRESS 
; Start Page 
;PGge is alt general 
ÅÅgÅ — 
HEX 97xx = 
"gx795", 
ADDRESS HEX nxx, ADDRESS 
"ax767", 
"ex7€g", ' 
SPEEDUINO 
.github 
Documentation 
rmsra 
reference 
Base Tunes 
•boatloaders 
datasheets 
hardware 
Calculations.dash 
speeduino Ori .ini 
speeduino 
1 .ini 
r.;öev 
speeduino.ini 
speeduino 
> test 
.gitattributes 
.gitignore 
! .travis.yml 
! azure-pipelines.yml 
contributing.md 
¯ Doxy-file 
LICENSE 
platformio.ini 
6) README.md 
> STRUCTURE 
@0A0 
HEX = 
scup,' ADDRESS 
HEX æxx, 
ADDRESS HEX gcxx, 
> page = 
ADDRESS 
HEX esxx, 
Aa 
I sur6 
$CAjv ADDRESS HEX e6xx, 
ADDRESS 
settings. Note that 
(algorithm and ignAlgorithm) MUST come before their use in 
25.5, 
the bitStringValue() calls in the fuel and ignition tables 
aseTaperTime 
aeC01 dPct 
CELSIUS 
aeC01dTapermin = 
aeC01dTapermin = 
#endif 
aeMode 
battVCormode 
SoftLimitMode = 
useTachoSweep - 
aeApp1ymode 
multiplymAP 
wueRates 
crankingPct 
pinLayout 
tachoPin 
tachoDiv 
tachoDuration = 
scalar , 
scalar, 
scalar , 
scalar , 
bits , 
bits , 
bits , 
bits , 
bits , 
bits , 
array, 
scalar, 
bits , 
bits , 
bits , 
scalar, 
scalar, 
scalar, 
scalar, 
IJ08, 
ueg, 
008, 
HEX 91", 
some of these 
"TPS" , 
255, 
215, 
215, 
"MAP" "IWALID" , 
"IWALID" 
e 
coLd adjustment X 
coLd adjustment, 
cold adjustment, 
" Speeduino 
taper start cc t (full adjustment) 
taper start clt (full adjustment) 
008, 
ue8, 
ue8, 
ueg, 
ueg, 
ueg, 
ueg, 
ue8, 
ue8, 
ue8, 
ueg, 
ueg, 
ueg, 
ueg, 
ueg, 
ue8, 
what 
ue8, 
ueg, 
ueg, 
ueg, 
ue8, 
ue8, 
ueg, 
ueg, 
ueg, 
3, 
3, 
3, 
3, 
4, 
15, 
16, 
16, 
[4 
[6 
:7], 
"Whole PW", "Open Time only" 
"Fixed", "Relative 
"PW multiplier" , 
"PW Adder" 
Off" "8aro", " Fixed , 
" " INVALID" 
[10], 
"INVALID" , 
"Speeduino VB. 2" , 
"Board Default", " ' 
"Normal , 
" "Half", 
"INVALID" , 
"kPa/s" , 
255, 
255, 
"Speeduino vø.3" 
"INVALID" 
255, 
255, 
2558, 
"el-es mx5 PNP", "INVALID", "96-97 MX5 PNP", 
maeThresh 
taeThresh 
aeT ime 
Disptay 
di spl ay 
di spl ayl 
di spl ay2 
di spl ay3 
di spl ay4 
di spl ay5 
di spl ayB1 
di spl ayB2 
reqFue1 
e 
the 
G"ßP threshold for triggering AE 
; TPS threshold for triggering AE 
", "IWALID", 
(Options for 
bits , 
bits , 
bits , 
bits , 
bits , 
bits , 
bits , 
bits , 
scalar, 
disptay is showing) 
21, 
21, 
21, 
22, 
22, 
22, 
23, 
23, 
"Unused", "Adafruit 128x32" , 
128x32" , 
RPM" "PW", "Advance , 
, "Voltage" , 
"CPU , 
RPM" "PW", "Advance 
, "Voltage" , 
"CPU , 
, "VE , 
"Generic 
" "GamaE , 
" "GamaE , 
" "GamaE , 
" "GammaE , 
" "GammaE , 
"INVALID", "INVALID" 
Li 252, Col 10 (8 sél«tionné) 
180C Nuageux A 
Espaces 
UTF-8 
x 
LF Ini O 
12: 12 
02/10/2021

Dans le bloc  [Menu] il y a les onglet de TunerStudio

 

Fichier Edition Sélection 
EXPLORATEUR 
Affichage 
Atteindre Exécuter Terminal Aide 
speeduinotest l.ini X 
reference > speeduinotest l.ini 
1383 > [EventTriggers] • 
1386 > [ConstantsExtensions] • 
speeduino test I.ini - speeduino - Visual Studio Code 
x 
page = 1 
Aa 
I sur6 
P 
Éii 
"Communications", "Tools " and "H 
{9} 
X speeduino test 1 .ini reference 
SPEEDUINO 
ct;: .github 
„.._Documentation 
> lib 
> misra 
v reference 
1596 
1597 
1598 
Isgg 
1 sea 
1601 
1682 
1683 
1634 
1685 
1686 
1687 
1608 
1 sag 
1618 
1611 
1612 
1613 
1614 
1615 
1616 
1617 
1618 
1619 
1628 
1621 
1622 
1623 
1624 
1625 
1626 
1627 
1628 
1629 
1630 
1631 
1632 
1633 
1634 
1635 
1636 
1637 
1638 
1639 
1648 
1641 
[Menu] 
There are five 
rhe first four 
used to define your 
menus 
merely 
std 
std 
std 
std 
std 
If you 
draws a 
pre-defined values that may be 
GLtow access to the "stündard" 
separator (horizontal line) in 
dialog boxes, the Last on 
the menu. 
TunerStudio MS Lite! v3.I .06 - ddddddd (Go Online for Firmware Version ) EFI Simplified 
Eile Options Qata Logging Communications 1001s Help 
Base Tunes 
•boatloaders 
datasheets 
hardware 
Calculations.dash 
speeduino Ori .ini 
speeduino test 1 .ini 
speeduino.ini 
speeduino 
> test 
.gitattributes 
.gitignore 
! .travis.yml 
! azure-pipelines.yml 
contributing.md 
¯ Doxy-file 
LICENSE 
platformio.ini 
6) README.md 
> STRUCTURE 
@0A0 
Settings 
Diagnostics & High Speed 
Gauge Cluster 
ddddddd Ready 
ning 
constants 
enri chments 
reattime 
warm up 
separator 
use any of the std constants, std enrichments or d warmup 
ogg r 
Spark Startup/ldle 
Notes 
Tune Analyze Live! - Tune For You 
Tuning & Dyno Views 
Not Connected 
3D Tuning 
Graphing & Logging 
editors, they may be optionalty suffixed with a page nu e," (only 
useful for multi-page code variants), which causes th 
to edit the 
specified page. If you leave off the page specifier they edit Logical 
page one as specified in the Constants section. 
There are four special menu names, which when us append to the standa 
menus of the same name instead of creating a n 
The menu names 
one. 
VE Analyze Live! 
menuDia10g = 
mal n 
menu 
subMenu = 
engine constants, 
subMenu = 
injChars, 
submenu = 
triggersettings, 
; submenu - 
- OLEO, 
subMenu = 
airdensity_curve, 
subMenu = 
baroFue1 curve, 
subMenu = 
reset control, 
subMenu = 
std _ separator 
subMenu = 
subMenu = 
subMenu = 
subMenu = 
subMenu = 
"Engine Constants" 
"Injector Characteristics" 
"Trigger Setup" 
"OLEO setup" 
"IAT Density" 
"Barometric Correction" 
"Reset Control" 
gaugeLimits, "Gauge Limits " 
std _ separator 
io summary, "I/O Summary" 
std _ separator 
prgm_out_confi 
grammable 
outputs" 
menu = 
Leam_LdnLeL CurrentTune.msq 
Li 252, Col 10 (8 sél«tionné) 
180C Nuageux A 
Espaces 
Upg rade! 
UTF-8 
LF Ini O 
12: 10 
02/10/2021


Pour créer un nouvelle fenêtre il faut choisir donc un onglet dans lequel le rajouter, par exemple  ( menu = "&Accessories" )


 

speeduinotest l.ini X 
reference > speeduino test l.ini 
{ iacA1gorithm 2 Il iacAIE 
1674 
1675 
1676 
1677 
1678 
1679 
1688 
1681 
1682 
1683 
1684 
1685 
1686 
1687 
1688 
1689 
1698 
1691 
1692 
1693 
1694 
1695 
1696 
1697 
1698 
1699 
1788 
1781 
1782 
1783 
1784 
1785 
1786 
1787 
1788 
1789 
1718 
1711 
1712 
submenu - 
primePW, 
submenu - 
warmup, 
submenu 
= ASE, 
submenu - 
std_separator 
submenu - 
idleSetti ngs, 
submenu - 
iacC10sedLoop curve, 
submenu - 
iacPwrn curve, 
submenu - 
iacPbmCrank curve, 
submenu - 
iacStep_curve, 
submenu - 
iacStepCrank_curve, 
submenu - 
std_separator 
submenu - 
idleUpSettings , 
submenu - 
std_separator 
submenu - 
idleAdvanceSettings, 
menu = "&Accessories" 
"Priming Pulsewidth" 
"Warmup Enrichment" 
" Afterstart Enrichment (ASE) " 
" Idle 
Control " 
"Idle - 
RPM targets", 
7, { iacA1gorithm = 
= 21 
"Idle - 
PW Duty Cycle", 7, { iacA1gorithm 
"Idle - 
PW Cranking Duty Cycle", 7, { iacA1gorit 
"Idle - 
Stepper motor", 7, { iacA1gorithm 4 
"Idle - 
" Idle 
" Idle 
accessone 
Aa 
TunerStudio MS Lite! v3.I.D6 ddddddd ( Go Online for Firmware Version) EFI Simplified 
Eile Options Qata Logging Communications 1001s Help 
Settings 
Spark 
Startup/ldle 
I sur I 
Thermo Fan 
3D Tuning 
luning 
Upg rade! 
Stepper motor Cranking", 7, 
Up Settings", 
Advance Settings" 
"Thermo Fan" 
"Launch Control / Flat Shift" 
" Fuel Pump" 
"Nitrous" 
"VSS and Gear detection" 
{ iacA1goritY 
Diagnostics & High Speed Loggers 
Gauge Cluster 
Engine Speed 
120 1 
100 
200 
220 
Notes 
Tune Analyze Live! - Tune For You 
Tuning & Dyno Views 
submenu - 
fanSettings , 
submenu - 
LaunchContr01, 
submenu - 
fuelpump , 
submenu - 
NitrousContr01, 
submenu - 
vssSettings , 
submenu - 
std_separator 
submenu - 
boo stSettings, 
submenu - 
boostLoad, 
submenu - 
std_separator 
submenu - 
vvtSettings , 
submenu - 
vvtTb1, 
submenu - 
vvt2Tb1, 
submenu - 
std_separator 
submenu = wmiSettings , 
submenu 
= wmiTb1, 
submenu - 
std_separator 
submenu - 
tacho, 
submenu - 
submenu - 
submenu - 
30 
"Boost Control" 
"Boost Targets/Duty" , 
8, 
{ vvt 
boostEnab1ed 
Not Connect 
%TPS 
100 
120 
"WT Control" 
"VVT Target/ Duty" , 
"VVT2 Target/Duty" , 
"1"1Co 1", 
" IWI ty cycle", 
8, 
8, 
vvtEnab1ed 
vvt2Enab1 
. vvtEnab1ed } 
8, { !wtEnab1ed && wiEnab1e 
kPa 
240 
Inlet 
Air Temp 
TEMP 
140 
160 
180 
200 
std 
std 
cæ,v COM'.!AVDS 
separator 
tt1eBod , 
separator 
Tacho Output" 
"Amesis roject 
FDR 
Throttle 
Bod " 
High speed GPS 
Launch Control / Flat Shift 
Fuel Pump 
Nitrous 
VSS and Gear detection 
Boost Control 
Boost Targets/Duty 
WT control 
T" t WT TargeüDuty 
VVT2 TargeüDuty 
WMI control 
WMI duty cycle 
Tacho Output 
AmesisProject FDR Throttle Body 
Canbus/Secondary Serial 10 Interface 
External Auxillary Input Channel Configuration 
Local Auxiliary Input Channel Configuration 
Fuel/Oil pressure 
CurrentTune.msq

 

A présent nous devons créer la fenêtre. Pour ça rdv dans

 [UserDefined]

-Nous allons nous caler juste après  dialog = vvtSettings, "VVT Control" pour créer notre code de l'interface de la nouvelle fenêtre.

Coller le code

 

dialog = APthrottleBody, "AmesisProject FDR Throttle Body"

        field = "#The APthrottleBody here is in experimental alpha version @AmesisProject & @FreakDoctor"

        field = "APThrottleBody Enabled",            tbEnabled

 

2866 
2867 
2868 
2869 
2878 
2871 
2872 
2873 
2874 
2875 
2876 
2877 
2878 
2879 
2888 
2881 
2882 
2883 
2884 
2885 
2886 
2887 
2888 
2889 
2890 
2891 
2892 
2893 
2894 
2895 
field = 
field = 
field — 
field — 
field = 
field = 
field = 
field = 
cam ang 
"minimum 
"maximum 
Cam angle" , 
Cam angle" , 
Ang 
vvtCLminAng 
vvtCLmaxAng 
vvtCLKP 
vvtCLK1 
vvtCLKD 
vvtCLminDuty, 
vvtCLmaxDuty, 
vvtEnab1ed 
TunerStudio MS Lite! v3.I .06 - ddddddd (Go Online for Firmware Version) EFI Simplified 
Eile Options Qata Logging Communications 1001s Help 
"Proportional Gain" , 
"Integral Gain" , 
"Differential Gain" , 
"minimum valve duty" , 
"maximum valve duty" , 
Settings 
luning 
Spark 
Startup/ldle 
Diagnostics & High Speed Loggers Tune Analyze Live!- Tune For You 
Notes 
vvtEnab1ed 
vvtEnab1ed 
vvtmc 
v vtmo 
dialog = vvtSettings, "VVT Control " 
Gauge Cluster 
nooo 
Engine Speed 
20 140 
Engine MA 
Tuning & Dyno Views 
Not Connected 
field — 
field = 
field = 
field = 
field = 
field = 
field = 
field — 
slider = 
panel — 
panel — 
"VVT Control Enabled", 
"WT Minimum CLT", 
vvtminC1t, { vvtEnab1ed 
"WT Delay", 
"WT Mode", 
vvtDe1ay, { vvtEnab1ed } 
vvtMode , 
"#P1ease note that closed loop is currently 
"Load source" , 
"WT output pin" , 
"WT solenoid freq. " , 
"VVT angle filter 
vvtC10sedLoop , 
vvt2, 
vvtLoadSource, 
vvt1Pin, 
vvtFreq , 
ANGLEFILTER WI, 
{ vvtEnab1ed } 
experimental for 
{ vvtEnab1ed } 
{ vvtEnab1ed } 
{ vvtEnab1ed } 
Miata 
bled 
vvtmode = 
Amesisproject FDR Throttle Body 
AmesisProject FDR Throttle Body 
he APthrottla80dy here is in experimental alpha version 
mesisProjact & 
horizontal, { vvtE 
{ vvtEnab1ed 
{ vvtEnab1e } 
dialog = APthrott1eBody, "AmesisProject FDR 
field = 
"*The APthrott1eBody here is in 
field = "APThrott1eBody Enabled", 
dialog = wmiSettings, "NMI Control " 
field = "*Experimental ! " 
Throttle Body" 
experimental alpha version 
tbEnab1ed 
@AmesisProject 
kPa 
220 
240 
TEMP 
180 
200 
TEMP 
180 
200

 

A présent enregistrer le fichier speeduino.ini et actualiser le dans TS (TunerStudio) avec ctrl + p puis cocher "Other/Browse " pour aller chercher le nouveau fichier speeduino.ini


La ligne  field = "APThrottleBody Enabled",            tbEnabled

 

N'apparait pas dans la fenêtre car la variable "tbEnabled" n'a pas été déclaré dans le code.

Nous allons donc nous rendre dans

[ConstantsExtensions]

Et déclarer la variable

 

    requiresPowerCycle = tbEnabled

speeduinotest l.ini X 
reference > speeduino test l.ini 
#unset COMM4,'dDS 
#unseŕ ehabtehard:vare test 
Cą2 
23 
151 
13a7 
1308 
1318 
1311 
1312 
1313 
1314 
1315 
1316 
1317 
1318 
1319 
132a 
1321 
1322 
1323 
1324 
1325 
> 
[MegaTune] 
[TunerStudio) 
[SettingGroups) 
[PcVariables] 
[Constants] 
EventTriggers) • 
[ConstantsExtensions 
requiresPowerCycle = 
requiresPowerCyc1e = 
requiresPowerCycle = 
requiresPowerCyc1e = 
requiresPowerCycle = 
requiresPowerCycle = 
requiresPowerCyc1e 
requiresPowerCycle = 
requiresPowerCycle = 
requiresPowerCyc1e = 
requiresPowerCycle = 
requiresPowerCycle = 
requiresPowerCycle = 
requiresP0',verCycle = 
requiresPowerCyc1e = 
requiresPowerCycle = 
requiresPowerCycle 
requiresPowerCyc1e = 
requiresPowerCycle = 
nCy1inders 
pinLayout 
fanPin 
reqFue1 
numTeeth 
missingTeeth 
trigPatternSec 
injOpen 
Iglnv 
fanlnv 
boostEnabled 
vvtEnabled 
tbEnab1ed 
'YvtChanneL 
boostFreq 
vvtFreq 
idleFreq 
sparkMode 
launchPin

 

Puis nous allons lui attribuer ses valeurs et son emplacement dans la mémoire.

 

Tout au début de ce tuto j'ai parlé des pages. Et bien nous y sommes, nous allons devoir choisir une page dans laquelle il y a de la mémoire pour nos futur bordel de variables constantes et autre, pour notre projet de plugin.

-Suivant les mise à jour du programme officiel, la mémoire n'est pas tout le temps disponible au même endroit. Oui le propriétaire du projet ne s'occupe pas si des petits gars comme nous on utilise la mémoire ou pas, il écrira la mémoire à la suite. Ce que nous allons faire comme suite.

J'ai trouvé une place avec de la mémoire disponible en page = 13 (les pages sont dans  [Constants] )

 

Voici comment j'ai trouvé la mémoire :

tout en bas de la page il y a cette ligne la

 

unused12_106_127  = array,    U08,  106,  [ 22],  "%",       1.0,     0.0,   0.0,      255,      0

 

La variable unused12_106_127 nous dit qu'il y a de la mémoire non utilisée du bits 106 à 127

Ce qui nous offre déjà pas mal de place

106 est l'emplacement de la variable unused12_106_127 le 22 entre croché nous informe qu'il reste 22 bits de disponible

 

J'ai donc caler ma nouvelle variable tbEnabled juste avant unused12_106_127, en gros je lui ai pris ça place et poussé à la suite. Donc dans ce cas on réattribue les adresses.

Ma nouvelle variable a pris sa place en 106 et j'ai mis unused12_106_127 en 107 et l'espace dispo passe dans ce cas de 22 à 21.

 

1262 
1263 
1264 
-1265? 
1266 
1267 
1268 
1269 
1270 
1271 
1272 
1273 
1274 
1275 
1276 
1277 
1278 
1279 
1288 
1281 
1282 
1283 
1284 
1285 
1286 
1287 
1288 
1289 
1290 
1291 
1292 
1293 
1294 
1295 
1296 
1297 
1298 
1299 
1388 
1381 
1382 
speeduinotest l.ini X 
reference > Z- speeduino test l.ini 
[3:51 
[6:7] 
[3:51 
[6:7] 
[6:7] 
[3:51 
[6:7] 
[3:51 
[6:7] 
[3:51 
[6:7] 
[3:51 
[6:7] 
FODf'SécondDataInT 
outputTimeLimit 
unused13 35 49 
firstTarget 
secondTarget 
firstCompTypee 
_ secondCompType8 
bitwise8 
firstCompType1 
secondCompType1 
bitwisel 
firstCompType2 
secondCompType2 
bitwise2 
firstCompType3 
secondCompType3 
bitwi se3 
firstCompType4 
secondCompType4 
bitwise4 
firstCompType5 
secondCompType5 
bitwise5 
firstCompType6 
secondCompType6 
bitwise6 
firstCompType7 
secondCompType7 
bitwise7 
candlD 
bits , 
array , 
array , 
= arrayi 
array , 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
bits, 
array , 
[9±7], Sfu11Status def 
ue8, 
ue8, 
S16, 
ueg, 
ue8, 
ueg, 
ueg, 
ue8, 
ue8, 
ueg, 
ue8, 
ueg, 
ue8, 
ueg, 
ueg, 
ue8, 
ue8, 
ueg, 
ue8, 
ueg, 
ue8, 
ueg, 
ueg, 
ue8, 
ue8, 
ueg, 
ue8, 
016, 
34, 
84, 
84, 
106, 
187 , 
File 
> tbena 
25.5, 
TunerStucIio MS Lite! "3.1.06 - MyCar ( Go Online for Firmware Version) EFI Simplified 
Options Qata Logging Communications 1001s Help 
[0 
8], 
8], 
8], 
:2], 
8], 
$comparator def 
$comparator def 
$bitwise_def 
$comparator def 
$comparator def 
$bitwise_def 
$comparator def 
$comparator def 
$bitwise def 
$comparator def 
$comparator def 
$bitwise_def 
$comparator def 
$comparator def 
$bitwise_def 
$comparator def 
$comparator def 
$bitwise_def 
$comparator def 
$comparator def 
$bitwise_def 
$comparator def 
$comparator 
$bitwise 
"Off" , 
Settings 
Spark Startup/lm Accessom 3 
luning 
Diagnostics & High Speed Loggers 
Gauge Cluster 
I sur3 
Hardwar 
Testing V Upgrade! 
Graphing & Logging 
Tune Analyze Live! - Tune For You 
Tuning & Dyno Views 
'hrottle 
Position 
Notes 
Pulse Width 
Engine Speed 
RPM 
120 140 
Engine MAP 
k Pa 
10 
AmesisProje 
mesisProject Throttle Body 
he APthrottle80dy here is in experimental alpha van 
APThrottle80dy Enabled 
180 
200 
220 
240 
Air lemp 
TEMP 
TEMP 
mesisProjec 
-200 
Duty Cycle 
Gamma 
Enrichment 
210 
250 
; Throttle & ThrottCeBody 
tbEnab1ed 
;unused12 _1€6 127 
unused12 186 127 
bits, 
array , 
; Second ignition map (Page 14) 
page = 14 
advTab1e2 
rpmBins3 
array, 
array, 
008, 
008, 
e, [16x16], 
16], 
256, 
[ 22], 
[ 21], 
"deg", 
"RPM", 
180.0 
Online. 
• Mycar 
lee, 
215.e, 
255øe,

 

Voyons à présent de quoi est composé ma nouvelle variable

 

tbEnabled         = bits,     U08,  106, [0:0], "Off", "On"

 

"tbEnabled"      : est le nom de la variable

"bits,   U08,  106," : on dit que le bits qu'on utilise est à l'adresse 106 et le U08 signifie que le bits est non signé et sur 8bits

Le U08 sont des valeurs positive, si nous avons besoin de valeur négative le bits doit être signé et on

l'écrira comme ça S08

[0:0]                : est un tableau est 0 est le 1er bit (ici on en utilise qu'un nous sommes donc en booléen, ce qui signifie que c'est soit vrai soit faux, que

                    c'est 0 ou 1, que c'est OFF ou ON, appel ça comme tu veux) pour avoir 2 autre état en plus nous aurions eu besoin d'un bit supplémentaire on l'aurait écrit comme ça [0:1]

En d'autre terme voici nos bits à l'enlacement 106 : "00000000"  voici nos 8 bits le fameux U08 donc le bit a l'emplacement 0 peut donc avoir l'état de 0 ou 1

"00000000" "10000000" le bit n°1 est donc ici en X "0X00000" le bits n°2 ici "00X00000" etc

 

 

 

 

-Nous pouvons créer un nouvel onglet "Help" qui renvoi vers un lien pour plus d'information.

 Ajouter

 

topicHelp = "http://VOTRE_LIEN"

 

speeduinotest l.ini X 
reference > speeduino test l.ini 
2878 
2871 
2872 
2873 
2874 
2875 
2876 
2877 
2878 
2879 
2880 
2881 
2882 
2883 
2884 
2885 
2886 
2887 
2888 
2889 
2890 
2891 
2892 
2893 
2894 
2895 
2896 
2897 
field — 
field = 
field = 
field = 
"Integral Gain" , 
"Differential Gain" , 
"minimum valve duty" , 
"maximum valve duty" , 
vvtCLK1 
vvtCLKD 
vvtCLminDuty, 
vvtCLmaxDuty, 
vvtEnab1ed 
> accessorie 
I sur I 
vvtEnab1ed 
vvtEnab1ed 
vvtmode = 
vvtmode = 
File 
TunerStudio MS Lite! v3.I .06 - ddddddd ( Go Online for Firmware Version ) EFI Simplified 
Options Qata Logging Communications 1001s Help 
dialog = vvtSettings, "VVT Control " 
field — 
field — 
field = 
field = 
field = 
field = 
field = 
field = 
slider = 
panel — 
el - 
"WT Control Enabled" , 
Settings 
Juning 
"WT minimum CLT", 
vvtminC1t, { vvtEnab1ed 
"WT Delay" , 
vvtDe1ay, { vvtEnab1ed } 
"WT mode" , 
vvtMode , 
"*Please note that closed loop is currently 
{ vvtEnab1ed } 
experimental for 
{ vvtEnab1ed } 
{ vvtEnab1ed } 
{ vvtEnab1ed } 
Miata 
and 
mlssxng 
2 
2 
toot 
"Load source" 
"VVT output pin" , 
"VVT solenoid freq. " , 
"VVT angle filter 
vvtC10se 
p, 
vvt 
vvtLoadSource, 
vvt1Pin, 
vvtFreq , 
ANGLEFILTER 
Diagnostics & High Speed Loggers 
Gauge Cluster 
eine Spe d 
Spark Startup/ldle 
Notes 
Tune Analyze Live! - Tune For You 
Tuning & Clyno Views 
o Not Connected 
• zontal, 
Enabled 
abled 
vvtmode = 
{ vvtEnab1ed } 
AmesisProject Throttle Body 
y- Help 
dialog = APthrott1eBody, "AmesisProject Throttle Body" 
topicdQp 
" https://github.com/AmesisProject/ee2-Amesis-Throttle_To_Thrott1eBody_Arduino" 
field = 
"*The APthrott1eBody here is in experimental alpha version @AmesisProject" 
Ame 
ect Throttle Body 
he APthrottle80dy here is in experimental alpha version 
field = "APThrott1eBody Enabled", 
dialog = wmiSettings, "WMI Control " 
tbEnab1ed 
mesisProjec 
Coolant lemp 140 
field = 
field = 
"*Experimental ! " 
"WII Control Enabled", 
Engine MAP 
180 
200 
Air lemp 
bmiEnab1ed

 

 

Nous avons donc créé une nouvelle fenêtre avec un titre, un descriptif, un lien d'aide, et une variable booléenne que nous allons pouvoir exploiter dans le code.

Voici le résultat !!!! Plutôt classe !

Amesi5Project Throttle Body 
View Help 
AmesisProject Throttle Body 
he APthrottla80dy here is in experimental alpha version 
APThrottleBody Enabled 
Burn 
mesisProjec

 

A oui j'ai oublié de préciser, TunerStudio est pourvu d'un système de traduction (pas ouf mais bien utile quand même) donc tout ce que tu écris dans le code doit être en anglais,

La traduction se fera simplement dans un autre fichier texte de cette façon hello = bonjour tout simplement.


Commentaires

Articles les plus consultés