-
基于STM32的温感GPS终端设计
【实例简介】
野火的指南者,GPS是ATGM332D,温度传感器是DHT11。实现定位温度的采集、LCD显示及WIFI传输
/**
温感GPS终端设计.rar
******************************************************************************
* @file main.c
* @author fire
* @version V1.0
* @date 2013-xx-xx
* @brief 对GPS模块传输的数据进行解码,获取定位信息。
******************************************************************************
* @attention
*
* 实验平台:秉火 STM32 F103-指南者 开发板
* 论坛 :http://www.firebbs.cn
* 淘宝 :https://fire-stm32.taobao.com
*
******************************************************************************
*/
#include "stm32f10x.h"
#include "./usart/bsp_usart.h"
#include "./gps/gps_config.h"
#include "./lcd/bsp_ili9341_lcd.h"
#include "./systick/bsp_SysTick.h"
#include "./dht11/bsp_dht11.h"
#include "./i2c/bsp_i2c_ee.h"
#include "./flash/bsp_spi_flash.h"
#include "usart1.h"
#include "test.h"
#include "bsp_esp8266.h"
#include
#include
extern void nmea_decode_test(void);
extern void ESP8266_StaTcpClient_UnvarnishTest2(void);
int main(void)
{
ILI9341_Init ();
SysTick_Init();
DHT11_Init ();
ILI9341_GramScan ( 6 );
USART_Config();
USARTx_Config();
ESP8266_Init ();
GPS_Config();
while(1)
{
ESP8266_StaTcpClient_UnvarnishTest2();
nmea_decode_test();
}
}
- 2021-10-16 00:31:16下载
- 积分:1
-
trilateration-master
三角定位算法,根据三个及以上Ibeacon,计算出用户所在的位置(Triangulation algorithm, based on three and more Ibeacon, calculate the location of the user)
- 2018-01-31 10:21:57下载
- 积分:1
-
confirm__brevkpoint__random
自适应滤波器理论一书第五章的有关程序,希望对大家有用(The procedure in chapter 5 of the theory of adaptive filter, I hope it will be useful to all of us.)
- 2019-03-28 13:06:32下载
- 积分:1
-
Android事务提醒源码
Android事务提醒源码
- 2014-07-28下载
- 积分:1
-
Android Paint画一个方框矩形
Android Paint画一个方框矩形,要使用到触笔事件及线程的相关操作,绘制绿色实心矩形和黄色的方框矩形:
/* 同样是设置颜色 */
mPaint.setColor(Color.rgb(255, 0, 0));
/* 提取颜色 */
Color.red(0xcccccc);
Color.green(0xcccccc);
/* 设置paint的颜色和Alpha值(a,r,g,b) */
mPaint.setARGB(255, 255, 0, 0);
/* 设置paint的Alpha值 */
mPaint.setAlpha(220);
/* 这里可以设置为另外一个paint对象 */
// mPaint.set(new Paint());
/* 设置字体的尺寸 */
mPaint.setTextSize(14);
// 设置paint的风格为“空心”.
// 当然也可以设置为“实心”(Paint.Style.FILL)
mPaint.setStyle(Paint.Style.STROKE);
// 设置“空心”的外框的宽度。
mPaint.setStrokeWidth(5);
/* 得到Paint的一些属性 */
Log.i(TAG, "paint的颜色:" + mPaint.getColor());
Log.i(TAG, "paint的Alpha:" + mPaint.getAlpha());
Log.i(TAG, "paint的外框的宽度:" + mPaint.getStrokeWidth());
Log.i(TAG, "paint的字体尺寸:" + mPaint.getTextSize());
/* 绘制一个矩形 */
// 肯定是一个空心的举行
canvas.drawRect((320 - 80) / 2, 20, (320 - 80) / 2 + 80, 20 + 40, mPaint);
/* 设置风格为实心 */
mPaint.setStyle(Paint.Style.FILL);
mPaint.setColor(Color.GREEN);
/* 绘制绿色实心矩形 */
- 2022-07-09 22:15:17下载
- 积分:1
-
Android_sdk-(1)
android聊天软件界面 简洁 省的实现(android chat software)
- 2013-08-09 17:16:59下载
- 积分:1
-
Android Ros入门实例
【实例简介】rosbridge_suite-develop.zip
- 2021-07-14 00:32:15下载
- 积分:1
-
AndroidResourceCollection
对如何开发安卓应用的参考资料的收集。对于初学者是个不错的参考材料。(Resource collection about how to develop android application. A good referrence for junior programer.)
- 2011-10-23 21:31:26下载
- 积分:1
-
Android滑动菜单特效实现,仿人人客户端侧滑效果demo
Android滑动菜单特效实现,仿人人客户端侧滑效果demo.此为示例代码
- 2022-03-12 08:32:27下载
- 积分:1
-
android_develop
基于对android的入门和深入开发,里面还有一些源码,希望对大家有所帮助(Based on the entry and in-depth development of android, there is some source, we want to help)
- 2012-03-14 17:08:39下载
- 积分:1