L24_1

Beschreibung


Flowcode-Report von STEVET


Einstellungen:

Compiler-Zeile

$(fcddir)ESP\Batch\esp32_build.bat

Compiler-Schalter

"$(compileresp)" "$(target)" "$(outdir)" esp32_sdkconfig 

Chip-Einstellungen


Taktfrequenz = 240000000 (Hz)

Noch keine Konfigurationsdaten festgelegt


Globale Daten:

Komponenten

LED_Mono_blue

Name Eigentum Wert
Flowcode Type FlowcodeType 0
Type Type 002
Connection Pin $PORTA.25
Show Connection Label ConnectionLabels 1
Show Pin Value ShowPinValue 0
Component Label ComponentLabel 000
User Label Text GdiText2::sText LED_Mono_blue
Polarity Polarity 001
Enabled Enabled 1
Product Product ESP
Appearance
Auto Colour Off AutoColourOff 1
On Colour OnColour 65408
Off Colour OffColour 21802
Gradient GdiShape1::colFillGradient 16777215
Gradient Style GdiShape1::nGradientStyle   0
Outline
Thickness GdiShape1::fThickness 3.000000
Colour GdiShape1::colOutline 0
Gradient GdiShape1::colOutlineGradient 0
Gradient Style GdiShape1::nOutlineStyle 0
Appearance
Image Off GdiImage1::nImageIdx   1
Filename Off GdiImage1::sFilename
Image On GdiImage2::nImageIdx   0
Filename On GdiImage2::sFilename

File_ESP32_SDMode1

Name Eigentum Wert
Frequency Frequency 400
File Count FileCount 5
SD Mode SDMode 004
Buffer Size BufferSize 512
Directory Size BufferSize_1 32
Pins
CLK CLK_PIN $PORTA.14
CMD CMD_PIN $PORTA.15
D0 D0_PIN $PORTA.2
D1 D1_PIN $PORTA.4
D2 D2_PIN $PORTA.12
D3 D3_PIN $PORTA.13
Remappable Remap 0
Simulation
Sim Root Folder SimRootFolder $(srcdir)
Is Sim IsSim 0

UART1

Name Eigentum Wert
Comms Settings
Channel cal_uart::CHANNEL 001
Baud Options cal_uart::BAUD_LIST 000
Baud Rate cal_uart::BAUD 921600
Data Bits cal_uart::DBITS 008
Return cal_uart::RETURN 001
Echo cal_uart::ECHO 000
Connections
Use TX cal_uart::UseTX 1
TX cal_uart::TX $PORTA.1
TX Remap Pin cal_uart::OutputPins 023
TX Alt Pin cal_uart::TXAlt 0
Use RX cal_uart::UseRX 1
RX cal_uart::RX $PORTA.3
RX Remap Pin cal_uart::InputPins 028
RX Alt Pin cal_uart::RXAlt 0
Use Flow Control cal_uart::FLOWEN 000
RTS cal_uart::RTS $PORTB.2
CTS cal_uart::CTS $PORTB.1
Simulation
Label label UART
Scope Traces cal_uart::ScopeTraces 0
Console Data cal_uart::ConsoleData 1
Console Format cal_uart::ConsoleFormat 000
Console Columns cal_uart::ConsoleColumns 64
Data Source cal_uart::DataSource 000
COM Port cal_uart::com_port 000
API cal_uart::Injector 000
API Use DDR cal_uart::APIUseDDR
API DDR Pin cal_uart::APIDDRPin
API DDR RX State cal_uart::APIDDRRXState
API Use Flow Control cal_uart::APIUseFC
API CTS Pin cal_uart::APICTSPin
API RTS Pin cal_uart::APIRTSPin

LED_WS2811

Name Eigentum Wert
Controller IC
LED Controller LED_Controller 001
Data Order DataOrder 1
Reset Time (uS) Reset_Time 50.000000
T0H (uS) T0H 0.350000
T0L (uS) T0L 0.800000
T1H (uS) T1H 0.700000
T1L (uS) T1L 0.600000
T0H Nop Count T0HNops 78
T0L Nop Count T0LNops 192
T1H Nop Count T1HNops 168
T1L Nop Count T1LNops 144
DeviceFamily DeviceFamily ESP
STARM Instruction Rate InstRate 180000000
Direct Direct 0
T0H (nS) T0HN 350.000000
T0L (nS) T0LN 800.000000
T1H (nS) T1HN 700.000000
T1L (nS) T1LN 600.000000
LED Properties
LED Arrangement LED_Arrangement 000
LED Count LED_Count 2
Arrangement sequence 000
Column Count LED_Cols 1
Column Spacing x_spacing 10.000000
Row Count LED_Rows 1
Row Spacing y_spacing 10.000000
Layer Count LED_Layers 1
Layer Spacing z_spacing 10.000000
Flip X FlipX 0
Flip Y FlipY
Flip Z FlipZ 0
Connections
Data Pin MOSI $PORTA.26
Invert Data InvertData 0
Instance Instance 1

power_enable

Name Eigentum Wert
Flowcode Type FlowcodeType 0
Type Type 002
Connection Pin $PORTB.0
Show Connection Label ConnectionLabels 1
Show Pin Value ShowPinValue 0
Component Label ComponentLabel 000
User Label Text GdiText2::sText power_enable
Polarity Polarity 001
Enabled Enabled 1
Product Product ESP
Appearance
Auto Colour Off AutoColourOff 1
On Colour OnColour 65408
Off Colour OffColour 21802
Gradient GdiShape1::colFillGradient 16777215
Gradient Style GdiShape1::nGradientStyle   0
Outline
Thickness GdiShape1::fThickness 3.000000
Colour GdiShape1::colOutline 0
Gradient GdiShape1::colOutlineGradient 0
Gradient Style GdiShape1::nOutlineStyle 0
Appearance
Image Off GdiImage1::nImageIdx   1
Filename Off GdiImage1::sFilename
Image On GdiImage2::nImageIdx   0
Filename On GdiImage2::sFilename

Text1

Name Eigentum Wert
Daten
Text sText Ch1
921600
TX A1
RX A3
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment   0
Vertical Alignment nVerticalAlignment   0
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

LSM9_1

Name Eigentum Wert
Connections
Accel Gryo SA0 Pin accel_ad0_pin 001
Magnetometer SA0 Pin mag_ad0_pin 001
Channel cal_i2c::CHANNEL
Baud Select cal_i2c::BAUD_LIST 002
Baud Rate cal_i2c::BAUD 400000
Stop Delay cal_i2c::StopDel 0
SDA cal_i2c::SDA $PORTA.21
SDA Remap Pin cal_i2c::SDAPins 021
SCL cal_i2c::SCL $PORTA.22
SCL Remap Pin cal_i2c::SCLPins 022
Sensor Properties
Accel Scale accel_scale 003
Accel Data Rate accel_data_rate 006
Gyro Scale gyro_scale 000
Gyro Data Rate gyro_data_rate 005
Compass Scale compass_scale 003
Compass Data Rate comp_data_rate 007
Simulation
Simulation Type SimType 000
I2C
Scope Traces cal_i2c::ScopeTraces 1
Console Data cal_i2c::ConsoleData 1
API cal_i2c::Injector 000

Text2

Name Eigentum Wert
Daten
Text sText LSM9DS1
+VCC 
+VCC 
CH1
sda=a21
scl=a22
400KHz max/1Mhz ok?
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment   0
Vertical Alignment nVerticalAlignment   0
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

Text3

Name Eigentum Wert
Daten
Text sText S1/B7/io39     S2/B4/io36     S3/B3/io35
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment 2
Vertical Alignment nVerticalAlignment 2
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

Bluetooth_SPP_ESP32

Name Eigentum Wert
Device Name DevName KFS-IMU-tis_27_05
Receive Buffer ReceiveBuffer 100
Data Receive Interrupt DataRxInt 1
Data Receive Macro DataRxMacro BT_interrupt
Verbose Debug Verbose 000
Simulation
COM Port COMPort1::COM_port 025
Refresh COM Ports COMPort1::Refresh 0
Baud COMPort1::baud_rate 9600
Console Data COMPort1::ConsoleData 1
First run FirstRun 1

Testpoint1

Name Eigentum Wert
Flowcode Type FlowcodeType 0
Type Type 002
Connection Pin $PORTB.1
Show Connection Label ConnectionLabels 1
Show Pin Value ShowPinValue 0
Component Label ComponentLabel 000
User Label Text GdiText2::sText Testpoint1
Polarity Polarity 001
Enabled Enabled 1
Product Product ESP
Appearance
Auto Colour Off AutoColourOff 1
On Colour OnColour 65408
Off Colour OffColour 21802
Gradient GdiShape1::colFillGradient 16777215
Gradient Style GdiShape1::nGradientStyle   0
Outline
Thickness GdiShape1::fThickness 3.000000
Colour GdiShape1::colOutline 0
Gradient GdiShape1::colOutlineGradient 0
Gradient Style GdiShape1::nOutlineStyle 0
Appearance
Image Off GdiImage1::nImageIdx   1
Filename Off GdiImage1::sFilename
Image On GdiImage2::nImageIdx   0
Filename On GdiImage2::sFilename

Testpoint4

Name Eigentum Wert
Flowcode Type FlowcodeType 0
Type Type 002
Connection Pin $PORTA.18
Show Connection Label ConnectionLabels 1
Show Pin Value ShowPinValue 0
Component Label ComponentLabel 000
User Label Text GdiText2::sText Testpoint4
Polarity Polarity 001
Enabled Enabled 1
Product Product ESP
Appearance
Auto Colour Off AutoColourOff 1
On Colour OnColour 65408
Off Colour OffColour 21802
Gradient GdiShape1::colFillGradient 16777215
Gradient Style GdiShape1::nGradientStyle   0
Outline
Thickness GdiShape1::fThickness 3.000000
Colour GdiShape1::colOutline 0
Gradient GdiShape1::colOutlineGradient 0
Gradient Style GdiShape1::nOutlineStyle 0
Appearance
Image Off GdiImage1::nImageIdx   1
Filename Off GdiImage1::sFilename
Image On GdiImage2::nImageIdx   0
Filename On GdiImage2::sFilename

Text4

Name Eigentum Wert
Daten
Text sText Testpoint1
33
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment   0
Vertical Alignment nVerticalAlignment   0
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

Text7

Name Eigentum Wert
Daten
Text sText Testpoint4
18
sck
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment   0
Vertical Alignment nVerticalAlignment   0
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

LSM9_2

Name Eigentum Wert
Connections
Accel Gryo SA0 Pin accel_ad0_pin 000
Magnetometer SA0 Pin mag_ad0_pin 000
Channel cal_i2c::CHANNEL
Baud Select cal_i2c::BAUD_LIST 002
Baud Rate cal_i2c::BAUD 400000
Stop Delay cal_i2c::StopDel 0
SDA cal_i2c::SDA $PORTA.21
SDA Remap Pin cal_i2c::SDAPins 021
SCL cal_i2c::SCL $PORTA.22
SCL Remap Pin cal_i2c::SCLPins 022
Sensor Properties
Accel Scale accel_scale 003
Accel Data Rate accel_data_rate 006
Gyro Scale gyro_scale 000
Gyro Data Rate gyro_data_rate 005
Compass Scale compass_scale 003
Compass Data Rate comp_data_rate 007
Simulation
Simulation Type SimType 000
I2C
Scope Traces cal_i2c::ScopeTraces 1
Console Data cal_i2c::ConsoleData 1
API cal_i2c::Injector 000

Text8

Name Eigentum Wert
Daten
Text sText LSM9DS1
GND
GND 
CH1
sda=a21
scl=a22
400KHz max/1Mhz ok?
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment   0
Vertical Alignment nVerticalAlignment   0
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

Text9

Name Eigentum Wert
Daten
Text sText ESP32: Only pins that support both input & output have integrated pull-up and pull-down resistors.
 Input-only GPIOs 34-39 do not
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment 2
Vertical Alignment nVerticalAlignment 2
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

pcb_switch5

Name Eigentum Wert
Connections
Connection pin $PORTA.19
Polarity polarity 001
Debounce (ms) debounce 0
Simulation
Operation operation 000
Color color 17151

Text10

Name Eigentum Wert
Daten
Text sText S5/A19/io19
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment 2
Vertical Alignment nVerticalAlignment 2
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 4325631
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

Shape1

Name Eigentum Wert
Misc
Type nType 5
Substyle iSubStyle 0
Rounding iRounding 25
Fill
Farbe colFill 17151
Gradient colFillGradient 16777215
Gradient Style nGradientStyle 0
Opacity nFillOpacity 0.4
Outline
Style nStyle 0
Fixed scale bFixedScale 0
Thickness fThickness 1.00000
Outline size iOutlineSize 1
Farbe colOutline 255
Gradient colOutlineGradient 0
Gradient Style nOutlineStyle 0
Opacity nOutlineOpacity 1.0

Text5

Name Eigentum Wert
Daten
Text sText Single key
On Rec Stop
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment   0
Vertical Alignment nVerticalAlignment   0
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

RTC_ESP32_NTP1

Name Eigentum Wert
Time Server TimeServer ntp11.metas.ch
UTC Offset GMTOff 0
Number of Retries NumRetries 10
Sim Sim 0

MCP960X_Thermocouple1

Name Eigentum Wert
Thermocouple Properties
Thermocouple Type ThermocoupleType 000
Filter Coefficients FilterCoef 000
Unit Unit 000
I2C Properties
Address Address 96
Channel cal_i2c1::CHANNEL 001
SDA cal_i2c1::SDA $PORTA.21
SDA Remap Pin cal_i2c1::SDAPins 021
SCL cal_i2c1::SCL $PORTA.22
SCL Remap Pin cal_i2c1::SCLPins 022
Simulation
Simulate Comms SimComms 0
SPI Comms
Console Data cal_spi1::ConsoleData 1
Scope Traces cal_spi1::ScopeTraces 1
API cal_spi1::Injector 000
API CS Pin cal_spi1::InjectorCS

Text6

Name Eigentum Wert
Daten
Text sText
CH1
sda=a21
scl=a22
(100kHz)
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment   0
Vertical Alignment nVerticalAlignment   0
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0

I2C_TCA9548A1

Name Eigentum Wert
Connections
Channel I2C_Master1::cal_i2c::CHANNEL 001
Device Address Address 000
Baud Select I2C_Master1::cal_i2c::BAUD_LIST 002
Baud Rate I2C_Master1::cal_i2c::BAUD 400000
SDA I2C_Master1::cal_i2c::SDA $PORTA.21
SDA Remap Pin I2C_Master1::cal_i2c::SDAPins 021
SCL I2C_Master1::cal_i2c::SCL $PORTA.22
SCL Remap Pin I2C_Master1::cal_i2c::SCLPins 022
Simulation
Scope Traces I2C_Master1::cal_i2c::ScopeTraces 0
Console Data I2C_Master1::cal_i2c::ConsoleData 1
API I2C_Master1::cal_i2c::Injector 000

Text11

Name Eigentum Wert
Daten
Text sText
CH1 (I2C)
0X70 Adress 0
sda=a21
scl=a22
400kHz
Appearance
Word Wrap bWordWrap 0
Horizontal Alignment nHorizontalAlignment   0
Vertical Alignment nVerticalAlignment   0
Angle nAngle 0
Font
Schriftart fntFamily Calibri
Fixed scale bFixedScale 0
Scale dScale 1.00000
Scale With Width bScaleWidth 0
Font size iFontSize 12
Bold bBold 0
Italic bItalic 0
Underline bUnderline 0
Strikethrough bStrikethrough 0
Text Colour
Farbe colTextColour 0
Text Gradient colTextGradient 9868950
Gradient Style nGradient 0
TextOpacity nTextOpacity 1.0
Background Colour
Hintergrund colBackgroundColour -1
Background Gradient colBackgroundGradient -1
Background Gradient Style nBackgroundGradient 0
Background Opacity nBackgroundOpacity 1.0


Eigenschaften

Keine Top-Level-Eigenschaften

Makros

Rückgaben Name Beschreibung
NONE Bt_install config menuconfig with commands for ESP-IF
NONE BT_interrupt received an IRQ from BT
NONE file_close close the file
NONE file_create create the file
NONE file_create_name create the filename
UINT file_last_file_found found the last used file
NONE get_command get the command from the received string USB or BT
NONE get_command_sw found from whre the IRQ is set
NONE Imu_data_get_demo_array demo date for test
NONE Imu_data_get_strg1 date from IMU 1 BOT
NONE Imu_data_get_strg2 date from IMU 2 TOP
NONE IMU_test test if IMU are connect
NONE Init Init all the components
NONE Init_IRQ Init IRQ if used
NONE Init_thermo Init thermocouple if used
NONE IRQ_set Set IRQ if used
NONE key3_int IRQ from key
NONE keypressed check all the key and set the pressed value
Zeichenfolge[2000] leading_space Set leading char to a number
NONE Main Main part
NONE Rec Recording macro
NONE sd_card_init Init the sd-card and set green led or flash red Led
NONE Send_Data send data to USB or BT
NONE Sleep let the recorder sleep
INT swap load  integer to swap=> return the swaped integer
load and return can be the same variable
NONE Thermocouple_get_strg get data from the thermocouple
NONE timer1_irq set to get a new sample
NONE USB_interrupt set from USB

I/O

Typ Name Komponente
Pin $pin0
Pin $pin1  UART1(cal_uart::TX)
Pin $pin2  File_ESP32_SDMode1(D0_PIN)
Pin $pin3  UART1(cal_uart::RX)
Pin $pin4  File_ESP32_SDMode1(D1_PIN)
Pin $pin5
Pin $pin12  File_ESP32_SDMode1(D2_PIN)
Pin $pin13  File_ESP32_SDMode1(D3_PIN)
Pin $pin14  File_ESP32_SDMode1(CLK_PIN)
Pin $pin15  File_ESP32_SDMode1(CMD_PIN)
Pin $pin16
Pin $pin17
Pin $pin18  Testpoint4(Pin)
Pin $pin19  pcb_switch5(pin)
Pin $pin21  LSM9_1(cal_i2c::SDA), LSM9_2(cal_i2c::SDA), MCP960X_Thermocouple1(cal_i2c1::SDA), I2C_TCA9548A1(I2C_Master1::cal_i2c::SDA)
Pin $pin22  LSM9_1(cal_i2c::SCL), LSM9_2(cal_i2c::SCL), MCP960X_Thermocouple1(cal_i2c1::SCL), I2C_TCA9548A1(I2C_Master1::cal_i2c::SCL)
Pin $pin23
Pin $pin25  LED_Mono_blue(Pin)
Pin $pin26  LED_WS2811(MOSI)
Pin $pin27
Pin $pin32  power_enable(Pin)
Pin $pin33  UART1(cal_uart::CTS), Testpoint1(Pin)
Pin $pin34  UART1(cal_uart::RTS)
Pin $pin35
Pin $pin36
Pin $pin39
   
Adc pin0
Adc pin2
Adc pin4
Adc pin12
Adc pin13
Adc pin14
Adc pin15
Adc pin25
Adc pin26
Adc pin27
Adc pin32
Adc pin33
Adc pin34
Adc pin35

Konstanten

Typ Name Wert Beschreibung
BYTE stat_rec 3 status record
BYTE off 0
BOOL false 0
BYTE stat_wait 2 status  wait
INT SRSN16_MSB1 3338 \r\n in 16 Bit is dec3338   hex  0xD0A   b: 00001101 0000 1010
INT SRSN16_MSB0 2573 \r\n in 16 Bit is dec3338   hex  0xD0A   b: 00001101 0000 1010
BYTE stat_no_change 4 no key accept
BYTE on 1
BOOL true 1
BYTE stat_sleep 1 status sleep

Variablen

Typ Name Wert Beschreibung
Zeichenfolge[100] lead_strg[100]
INT temp_16B 0
UINT count_loop 0
Zeichenfolge[100] apend_strg_m[100]
INT test 0
BYTE byte_16 0
BYTE stop 0
LONG count_down 0
BYTE byte_15 0
BYTE status 0 0= stat_sleep; 1= stat_wait, 2=stat_rec
BYTE lsm2_ok 0 if connected
INT count_key_p 0
BYTE BT_USB 0 0= send to BT  or 1= send to USB
Zeichenfolge[30] filename[30] hold the filename
BYTE rec_sample 0 sample if its time
BYTE send_ad 0
ULONG count_down_set 6000 for test just 100 for 10Sec /200 for 20 seconds / 600 for 1 minute
BOOL buffer_full 0
Gleitkomma temp_Float 0 general ret float, multi used
Zeichenfolge[200] apend_strg[200] to save on disk
Zeichenfolge[100] apend_strg_c[100]
BYTE ret_byte 0 general ret byte, multi used
BYTE key3 0 key 3 pressed value
Zeichenfolge[100] apend_strg_a[100]
BYTE count_swap 0
BOOL led_on 0
BYTE key2 0 key 2 pressed value
Zeichenfolge[30] filename_prefix[30] "imu1_" for file prefix
BYTE key1 0 key 1 pressed value
BYTE S_send_ok 0
BYTE keyset 0 result for key
BYTE send_mpu 0
BYTE number_of_thempsonden 12 1-12 elements
Zeichenfolge[10] ret_srtg[10]
INT[20] AG_XYZ[20] 2x IMU with A xyz G xyz  M xyz  T => 20 integer
INT[32] All_Temperatur[32] save date from max 32 Thempcouple
BYTE send_AGM 0
ULONG count_blue_led 0
Zeichenfolge[20] adress_strg[20]
Gleitkomma temperatur_float 0
BYTE send_hx 0
BOOL debug_mode 0 normal 0 / If test then 1
BYTE send_le 0
BYTE get_cmd 0 get the command from USB or BT
BYTE rec_on 0 rec is running
UINT count_loop_strg 0
Zeichenfolge[30] BT_sen_strg[30] set for sending string to BT
BYTE set_write 0
BYTE last_key 0
UINT file_nr 0
BYTE stop_code 0 reason to stop recording
BYTE lsm1_ok 0 if connected
BYTE who_am_i_2 0
ULONG count_alldata
BYTE who_am_i_1 0
BYTE ret_por 0
Zeichenfolge[10] filename_extension[10] ".csv" for a standard extension
Zeichenfolge[40] ret_strg_BT_USB[40] general ret strg, multi used
ULONG count_key_time 0 not used
BYTE set_sample 0
UINT send_flow 0
BYTE termo_ok 0 if connected







config menuconfig with commands for ESP-IF

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


received an IRQ from BT

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Typ Name Wert Beschreibung
Zeichenfolge[40] ret_strg[40]


close the file

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


create the file

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


create the filename

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


found the last used file

Rückgabedetails

Typ Name Beschreibung
UINT Return

Parameter

Typ Name Wert Beschreibung
Zeichenfolge[30] filename_prefix[30] maximal 5 char
Zeichenfolge[20] filename_extension[20] include the dot  ".csv"    or ".txt"

Variablen

Typ Name Wert Beschreibung
UINT last_file_found 0 nummer for filename
UINT file_nr 0 counter for nummer
BYTE ret_file_open 0 ret_byte
Zeichenfolge[30] filename[30] filename to try to open


get the command from the received string USB or BT

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Typ Name Wert Beschreibung
Zeichenfolge[40] cmd_strg[40]

Variablen

Typ Name Wert Beschreibung
Zeichenfolge[40] ret_strg[40]


found from whre the IRQ is set

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


demo date for test

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Typ Name Wert Beschreibung
UINT count_data 0 to fill the array


date from IMU 1 BOT

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


date from IMU 2 TOP

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


test if IMU are connect

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


Init all the components

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


Init IRQ if used

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


Init thermocouple if used

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Typ Name Wert Beschreibung
BYTE number_of_thermocouple number of thermocouple from 1 to 12

Variablen

Typ Name Wert Beschreibung
BYTE count_loop 0 count for MCP9600 Channel


Set IRQ if used

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Typ Name Wert Beschreibung
BYTE mode 0= turn off /  1=turn on

Variablen

Keine lokalen Variablen für dieses Makro definiert


IRQ from key

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


check all the key and set the pressed value

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


Set leading char to a number

Rückgabedetails

Typ Name Beschreibung
Zeichenfolge[2000] Return[2000]

Parameter

Typ Name Wert Beschreibung
Zeichenfolge[1] lead_char[1] "0" or " "
LONG value
BYTE number_of_char How many char  (3)Byte, (5)uinteger (6)sinteger (10)ulong (11)slong

Variablen

Typ Name Wert Beschreibung
Zeichenfolge[40] temp_str[40]
BYTE str_len
Zeichenfolge[40] temp_str2[40]
BYTE count_leading 0


Main part

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


Recording macro

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


Init the sd-card and set green led or flash red Led

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


send data to USB or BT

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


let the recorder sleep

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


load  integer to swap=> return the swaped integer
load and return can be the same variable

Rückgabedetails

Typ Name Beschreibung
INT Return return the swaped int

Parameter

Typ Name Wert Beschreibung
INT input load the integer to swap=> return the swaped integer

Variablen

Typ Name Wert Beschreibung
BYTE lsb 0 temp lsb
BYTE msb 0 temp msb
INT SINT16 0 temp integer


get data from the thermocouple

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Typ Name Wert Beschreibung
BYTE number_of_thermocouple 1-12

Variablen

Typ Name Wert Beschreibung
BYTE count_loop 0


set to get a new sample

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert


set from USB

Rückgabedetails

Kein Rückgabewert für dieses Makro definiert

Parameter

Keine Parameter für dieses Makro definiert

Variablen

Keine lokalen Variablen für dieses Makro definiert