change cang package size
This commit is contained in:
parent
01d3627683
commit
4acd071227
|
@ -8043,9 +8043,9 @@
|
||||||
)
|
)
|
||||||
(uuid "c6693333-4f12-47eb-9ae1-2c7c2632fa40")
|
(uuid "c6693333-4f12-47eb-9ae1-2c7c2632fa40")
|
||||||
)
|
)
|
||||||
(text "<- these are crap\nthe voltage output with the new circuit between V2,V1 is -2.115mV\n\na gain with 1001 could be used -> 100 Ohm resistor for AD623"
|
(text "<- these are crap\nthe voltage output with the new circuit between V2,V1 is -2.115mV\n\na gain with 1001 could be used -> 100 Ohm resistor for AD623\n\nV_{1}-V_{2} = 6996/1625 * ΔL/L = 4.305231 * ΔL/L\n\nwith X shaped circuit\nV_{1}-V_{2} = 13.2/( 15.12 * L/ΔL +1 )"
|
||||||
(exclude_from_sim no)
|
(exclude_from_sim no)
|
||||||
(at 56.515 221.615 0)
|
(at 57.785 227.33 0)
|
||||||
(effects
|
(effects
|
||||||
(font
|
(font
|
||||||
(size 1.27 1.27)
|
(size 1.27 1.27)
|
||||||
|
|
|
@ -18,7 +18,7 @@ void adc_init(ADC_HandleTypeDef* hadc){
|
||||||
|
|
||||||
void adc_loop(ADC_HandleTypeDef* hadc){
|
void adc_loop(ADC_HandleTypeDef* hadc){
|
||||||
HAL_ADC_Start_IT(hadc);
|
HAL_ADC_Start_IT(hadc);
|
||||||
static uint8_t data[8];
|
static uint8_t data[4];
|
||||||
ftcan_marshal_unsigned(data, adcRes, 4);
|
ftcan_marshal_unsigned(data, adcRes, 4);
|
||||||
ftcan_transmit(id, data, sizeof(data));
|
ftcan_transmit(id, data, sizeof(data));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue