自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 曲线拟合多项式

void gauss_solve(int n,double A[],double x[],double b[]) { int i,j,k,r; double max; for (k=0;k<n-1;k++) { max=fabs(A[k*n+k]); /*find maxmum*/ r=k; for (i=k+1...

2020-03-30 16:10:43 308

原创 求解线性方程组

#define OEDER 8//order 秩 u8 SolvingLinearEquations(void)//u16 dat,u8 oeder { int i, j, m, n=OEDER, r=OEDER, t; //i,j,m,k,t 作为循环计数变量;n表示有n个未知数,即n元;r表示有r个方程组成方程组。 // scanf("%d %d", &n,...

2020-03-30 13:52:56 306

原创 s5pv210 ltc2451 驱动

1,ltc2451_i2c_drv.c #include <linux/init.h> #include <linux/module.h> #include <linux/i2c.h> #include <linux/miscdevice.h> #include <linux/slab.h> #include <linux/fs...

2019-08-23 15:30:14 574

原创 s5pv210 eeprom at24cxx 驱动

1,mach-x210.c /* I2C0 */ static struct i2c_board_info i2c_devs0[] __initdata = { #ifdef CONFIG_SND_SOC_WM8580 { I2C_BOARD_INFO("wm8580", 0x1b), }, #endif #ifdef CONFIG_EEPROM_at240cxx { I2C_BO...

2019-08-23 10:09:31 310

原创 cjosn在stm32上移植应用

下载地址:https://sourceforge.net/projects/cjson/ 1,添加到工程中就可直接使用了 2,把堆和栈弄大一点; 3应用 typedef struct { char firstName[32]; char lastName[32]; char email[64]; int age; float height...

2019-08-21 16:23:24 326

原创 strstr函数如果给返回的地址里写内容再ucosIII下有可能会导致stm32死机

strstr函数如果给返回的地址里写内容再ucosIII下有可能会导致stm32死机。 sum2 = strstr((const char *)sum, "\r\n"); sum2[0] = '\0';

2019-07-28 16:51:36 324

原创 arm linux下Ghostscript+foo2使用打印机

Ghostscript移植 1,下载ghostscript-9.04.tar.bz2 wget http://iweb.dl.sourceforge.net/project/ghostscript/GPL%20Ghostscript/9.04/ghostscript-9.04.tar.bz2 2,解压源码 tar xvjf ghostscript-9.04.tar.bz2 3,分别拷贝为...

2019-07-23 16:19:16 2155 1

原创 lcd画圆算法

#include "math.h" #define PI 3.14159265 #define LCDWIDTH 800 #define LCDHEIGHT 480 //x,y:坐标 //color:颜色 //angle:角度 //radius:半径 void LCD_DrawPoint_Rotate(u16 x,u16 y,u16 color, int angle,int radius) ...

2019-03-14 00:17:07 2731

转载 X210QT移植

1.tslib移植 首先确保一下软件已经安装了 sudo apt-get install autoconf sudo apt-get install automake sudo apt-get install libtool 下载tslib源码http://vdisk.weibo.com/s/AcUHxOERV2k0 我是放在/root/qt_study 配置编译 ./autoge...

2018-10-22 16:22:32 244

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除