rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
hellen_board_id_resistors.h
Go to the documentation of this file.
1//
2// was generated automatically by Hellen Board-ID generation tool gen_hellen_board_id.jar
3//
4
5// major_idx = 0..15
6#define HELLEN_BOARD_ID_MAJOR_RESISTORS 510, 620, 750, 1000, 1200, 1500, 1800, 2200, 2700, 3300, 3900, 4700, 5600, 6800, 8200, 10000,
7// minor_idx = 0..12
8#define HELLEN_BOARD_ID_MINOR_RESISTORS 560, 680, 820, 1100, 1200, 2000, 2400, 3000, 3600, 4300, 5100, 6200, 7500,
9
10// C = 1uF
11#define HELLEN_BOARD_ID_CAPACITOR 1.0f
12
13// R1_IDX = 0..15, R2_IDX = 0..28 (max. 464 boardIds)
14#define HELLEN_GET_BOARD_ID(R1_IDX, R2_IDX) ((R1_IDX) * 100 + (R2_IDX))