0
mirror of https://gitlab.com/hyperglitch/jellyfish.git synced 2025-12-26 15:16:30 +00:00
2025-07-20 02:54:12 +02:00

69 lines
1.8 KiB
C

/*
* SPDX-FileCopyrightText: 2025 Igor Brkic <igor@hyperglitch.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
// File generated by jf_calibrate.py on 2025-07-16 00:38:28
#include "jf_calibration.h"
const jf_calibration_t JF_CALIBRATION_EMPTY = {
{ 0, 0, 0},
"Empty",
{ 1, 0 },
{ 1, 0 },
{ 1, 0 },
{ 1, 0 },
{
1, 0,
1, 0,
1, 0,
1, 0,
1, 0,
1, 0,
1, 0,
1, 0,
}
};
const jf_calibration_t JF_CALIBRATION_DATA[] = {
{
{ 0x00240034, 0x59315016, 0x20333046 }, // UID
"Original prototype", // Description
{ -0.99938000, 10223.21001500 }, // Voltage
{ 1.00000000, 0.00000000 }, // DAC
{ 1.00000000, 0.00000000 }, // AIN
{ -0.12446100, -2.79716000 }, // Isense2
{
0.00000000, 0.00000000, // R0
-0.01167600, -0.02938800, // R1
-0.00123800, 0.01582600, // R2
-0.00012500, -0.01335600, // R3
-0.00001200, 0.00372300, // R4
0.00000000, 0.00000000, // R5
0.00000000, 0.00000000, // auto
0.00000000, 0.00000000, // all off
}
},
{
{ 0x00290058, 0x3132510f, 0x37333730 }, // UID
"Second prototype 1/3", // Description
{ -1.00092967, 10245.18985958 }, // Voltage
{ 2.00114979, -73.65704641 }, // DAC
{ 1.00000000, 0.00000000 }, // AIN
{ -0.12424995, 2.10866227 }, // Isense2
{
0.00000000, 0.00000000, // R0
-0.01157386, 0.21383102, // R1
-0.00125047, -0.10685008, // R2
-0.00013481, -0.26133883, // R3
-0.00001257, -0.00076593, // R4
-0.00000139, -0.00397639, // R5
0.00000000, 0.00000000, // auto
0.00000000, 0.00000000, // all off
}
},
{ { 0, 0, 0 }, }
};