/* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_linear_interp_data.c
*
* Description: Data file used for example. Generation method described
* below
*
* Target Processor: Cortex-M4/Cortex-M3/Cortex-M0
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* - Neither the name of ARM LIMITED nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* -------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
* Table generated from following MATLAB Command
* x = -pi: 0.00005 : (2*pi - 0.00005);
* y = sin(x);
* where pi value is 3.141592653589793
* --------------------------------------------------------------------*/
float arm_linear_interep_table[188495] = {
-0.000000000000000122, -0.000049999999979173, -0.000099999999833667, -0.000149999999437717, -0.000199999998666767, -0.000249999997395817, -0.000299999995500311, -0.000349999992854362,
-0.000399999989333412, -0.000449999984812462, -0.000499999979166956, -0.000549999972271007, -0.000599999964000057, -0.000649999954229107, -0.000699999942833602, -0.000749999929687653,
-0.000799999914666704, -0.000849999897645755, -0.000899999878500250, -0.000949999857104302, -0.000999999833333354, -0.001049999807062851, -0.001099999778166904, -0.001149999746520957,
-0.001199999712000011, -0.001249999674479510, -0.001299999633833566, -0.001349999589937622, -0.001399999542666680, -0.001449999491896183, -0.001499999437500243, -0.001549999379354304,
-0.001599999317333367, -0.001649999251312876, -0.001699999181166942, -0.001749999106771011, -0.001799999028000082, -0.001849998944729599, -0.001899998856833675, -0.001949998764187754,
-0.001999998666666836, -0.002049998564146365, -0.002099998456500453, -0.002149998343604546, -0.002199998225334087, -0.002249998101563188, -0.002299997972167294, -0.002349997837021405,
-0.002399997696000966, -0.002449997548980088, -0.002499997395834216, -0.002549997236438351, -0.002599997070667937, -0.002649996898397086, -0.002699996719501243, -0.002749996533855408,
-0.002799996341335026, -0.002849996141814208, -0.002899995935168401, -0.002949995721272604, -0.002999995500002261, -0.003049995271231486, -0.003099995034835722, -0.003149994790690415,
-0.003199994538669677, -0.003249994278648952, -0.003299994010503243, -0.003349993734107991, -0.003399993449337312, -0.003449993156066649, -0.003499992854171003, -0.003549992543525819,
-0.003599992224005209, -0.003649991895484619, -0.003699991557839049, -0.003749991210943944, -0.003799990854673418, -0.003849990488902914, -0.003899990113507434, -0.003949989728362423,
-0.003999989333341993, -0.004049988928321590, -0.004099988513176658, -0.004149988087781312, -0.004199987652010995, -0.004249987205740709, -0.004299986748845899, -0.004349986281200678,
-0.004399985802680492, -0.004449985313160341, -0.004499984812515671, -0.004549984300620594, -0.004599983777350557, -0.004649983242580561, -0.004699982696186050, -0.004749982138041138,
-0.004799981568021272, -0.004849980986001451, -0.004899980391857122, -0.004949979785462398, -0.004999979166692725, -0.005049978535423547, -0.005099977891528979, -0.005149977234884466,
-0.005199976565365011, -0.005249975882846058, -0.005299975187201721, -0.005349974478307446, -0.005399973756038235, -0.005449973020269535, -0.005499972270875456, -0.005549971507731448,
-0.005599970730712511, -0.005649969939694091, -0.005699969134550302, -0.005749968315156590, -0.005799967481387958, -0.005849966633119851, -0.005899965770226383, -0.005949964892583000,
-0.005999964000064706, -0.006049963092546945, -0.006099962169903833, -0.006149961232010816, -0.006199960278743339, -0.006249959309975518, -0.006299958325582797, -0.006349957325440182,
-0.006399956309423117, -0.006449955277405718, -0.006499954229263430, -0.006549953164871257, -0.006599952084104644, -0.006649950986837708, -0.006699949872945895, -0.006749948742304206,
-0.006799947594788089, -0.006849946430271660, -0.006899945248630365, -0.006949944049739206, -0.006999942833473632, -0.007049941599707755, -0.007099940348317025, -0.007149939079176889,
-0.007199937792161461, -0.007249936487146187, -0.007299935164006074, -0.007349933822616566, -0.007399932462851779, -0.007449931084587162, -0.007499929687697716, -0.007549928272058891,
-0.007599926837544801, -0.007649925384030893, -0.007699923911392173, -0.007749922419504085, -0.007799920908240749, -0.007849919377477610, -0.007899917827089672, -0.007949916256952384,
-0.007999914666939863, -0.008049913056927554, -0.008099911426790906, -0.008149909776404035, -0.008199908105642390, -0.008249906414380975, -0.008299904702495238, -0.008349902969859295,
-0.008399901216348595, -0.008449899441838141, -0.008499897646203384, -0.008549895829318437, -0.008599893991058752, -0.008649892131299332, -0.008699890249915625, -0.008749888346781748,
-0.008799886421773151, -0.008849884474764837, -0.008899882505632256, -0.008949880514249525, -0.008999878500492093, -0.009049876464234965, -0.009099874405353590, -0.009149872323722084,
-0.009199870219215898, -0.009249868091710479, -0.009299865941079948, -0.009349863767199750, -0.009399861569944894, -0.009449859349190827, -0.009499857104811669, -0.009549854836682867,
-0.009599852544679429, -0.009649850228676803, -0.009699847888549109, -0.009749845524171793, -0.009799843135419864, -0.009849840722168771, -0.009899838284292632, -0.009949835821666898,
-0.009999833334166574, -0.010049830821667110, -0.010099828284042626, -0.010149825721168572, -0.010199823132920397, -0.010249820519172219, -0.010299817879799491, -0.010349815214677217,
-0.010399812523680850, -0.010449809806684508, -0.010499807063563642, -0.010549804294193258, -0.010599801498448806, -0.010649798676204407, -0.010699795827335511, -0.010749792951717126,
-0.010799790049224703, -0.010849787119732359, -0.010899784163115548, -0.010949781179249277, -0.010999778168008997, -0.011049775129268828, -0.011099772062904221, -0.011149768968790628,
-0.011199765846802169, -0.011249762696814294, -0.011299759518702013, -0.011349756312340777, -0.011399753077604706, -0.011449749814369253, -0.011499746522509425, -0.011549743201900674,
-0.011599739852417123, -0.011649736473934221, -0.011699733066326979, -0.011749729629470847, -0.011799726163239948, -0.011849722667509732, -0.011899719142155211, -0.011949715587051834,
-0.011999712002073
没有合适的资源?快使用搜索试试~ 我知道了~
基于hal库cubeMX开发的STM32G431RBT单片机的HCSR04超声波模块测距,4针IIC的OLED显示距离
共1266个文件
c:679个
h:279个
s:100个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 29 浏览量
2024-10-28
16:55:00
上传
评论
收藏 19.98MB RAR 举报
温馨提示
基于hal库cubeMX开发的STM32G431RBT单片机的HCSR04超声波模块测距 distance = HCSR04_GetDistance(); if(distance > 25 && distance < 4000) { OLED_ShowChinese(2, 1, "实测距离:"); if(distance >= 1000) { OLED_ShowInteger(2, 11, distance, 4); } else if(distance >= 100) { OLED_ShowString(2, 11 , " "); OLED_ShowInteger(2, 12, distance, 3); } else { OLED_ShowString(2, 11, " "); OLED_ShowInteger(2, 13, distance, 2); } OLED_ShowString(2, 15, "mm"); } else {
资源推荐
资源详情
资源评论
收起资源包目录
基于hal库cubeMX开发的STM32G431RBT单片机的HCSR04超声波模块测距,4针IIC的OLED显示距离 (1266个子文件)
libarm_cortexM4l_math.a 5.18MB
libarm_cortexM4lf_math.a 5.11MB
iar_cortexM4b_math.a 3.02MB
iar_cortexM4l_math.a 3.01MB
iar_cortexM4bf_math.a 2.99MB
iar_cortexM4lf_math.a 2.98MB
Template.uvguix.Administrator 89KB
Template.axf 733KB
arm_linear_interp_data.c 4.12MB
arm_common_tables.c 3.73MB
stm32g4xx_hal_hrtim.c 391KB
transform_tests_common_data.c 273KB
stm32g4xx_hal_tim.c 262KB
stm32g4xx_hal_i2c.c 245KB
stm32g4xx_hal_cryp.c 194KB
stm32g4xx_hal_uart.c 161KB
stm32g4xx_hal_adc.c 148KB
stm32g4xx_hal_spi.c 143KB
stm32g4xx_hal_tim_ex.c 138KB
stm32g4xx_hal_usart.c 126KB
stm32g4xx_hal_smartcard.c 125KB
stm32g4xx_hal_fdcan.c 124KB
stm32g4xx_hal_irda.c 104KB
stm32g4xx_hal_smbus.c 98KB
stm32g4xx_hal_adc_ex.c 94KB
stm32g4xx_hal_qspi.c 92KB
stm32g4xx_hal_fmac.c 90KB
stm32g4xx_hal_sai.c 88KB
stm32g4xx_hal_lptim.c 76KB
stm32g4xx_ll_adc.c 76KB
stm32g4xx_hal_rtc.c 75KB
stm32g4xx_hal_nand.c 73KB
filtering_test_common_data.c 64KB
stm32g4xx_hal_rcc_ex.c 64KB
stm32g4xx_hal_rtc_ex.c 63KB
stm32g4xx_hal_dac.c 63KB
stm32g4xx_hal_i2s.c 62KB
stm32g4xx_hal_pcd.c 58KB
stm32g4xx_ll_tim.c 56KB
arm_cfft_radix4_q15.c 55KB
stm32g4xx_hal_nor.c 52KB
stm32g4xx_hal_rcc.c 51KB
stm32g4xx_hal_flash_ex.c 49KB
stm32g4xx_hal_cordic.c 45KB
arm_fft_bin_data.c 43KB
stm32g4xx_hal_opamp.c 42KB
stm32g4xx_hal_dac_ex.c 41KB
stm32g4xx_hal_pwr_ex.c 38KB
stm32g4xx_ll_rcc.c 37KB
stm32g4xx_hal_uart_ex.c 37KB
arm_mat_inverse_f32.c 35KB
stm32g4xx_hal_dma.c 35KB
arm_cfft_radix4_f32.c 34KB
stm32g4xx_hal_sram.c 34KB
stm32g4xx_hal_comp.c 34KB
controller_test_common_data.c 33KB
stm32g4xx_ll_rtc.c 32KB
stm32g4xx_hal_opamp_ex.c 30KB
stm32g4xx_ll_fmc.c 29KB
arm_fir_interpolate_f32.c 28KB
stm32g4xx_ll_utils.c 28KB
system_stm32f4xx.c 28KB
fir_tests.c 26KB
arm_correlate_f32.c 26KB
stm32g4xx_hal_rng.c 26KB
fast_math_tests_common_data.c 26KB
conv_tests.c 25KB
stm32g4xx_ll_usb.c 25KB
OLED.c 25KB
arm_cfft_radix4_q31.c 25KB
stm32g4xx_hal_pwr.c 25KB
arm_conv_partial_q15.c 24KB
stm32g4xx_hal_flash.c 24KB
stm32g4xx_hal.c 24KB
arm_correlate_q7.c 24KB
arm_conv_f32.c 23KB
arm_conv_partial_q7.c 23KB
biquad.c 23KB
stm32g4xx_ll_comp.c 23KB
arm_graphic_equalizer_example_q31.c 23KB
arm_conv_partial_fast_q15.c 22KB
arm_correlate_q15.c 22KB
lms.c 22KB
arm_conv_q15.c 22KB
intrinsics_tests_common_data.c 22KB
stm32g4xx_ll_spi.c 21KB
arm_mat_inverse_f64.c 21KB
arm_fir_f32.c 21KB
stm32g4xx_hal_cortex.c 21KB
stm32g4xx_ll_dac.c 21KB
arm_fir_decimate_f32.c 21KB
arm_conv_q7.c 21KB
arm_conv_partial_f32.c 21KB
arm_conv_fast_q15.c 21KB
arm_correlate_q31.c 20KB
arm_conv_partial_fast_q31.c 20KB
arm_signal_converge_data.c 20KB
arm_const_structs.c 20KB
arm_cfft_f32.c 19KB
arm_correlate_fast_q31.c 19KB
共 1266 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13
资源评论
jacklood
- 粉丝: 439
- 资源: 38
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功