www.gusucode.com > VC++环境下从串口读取数据并实时绘制曲线图 > VC++环境下从串口读取数据并实时绘制曲线图/读取串口数据并画实时曲线的VC++程序源码/StdAfx.cpp

    // stdafx.cpp : source file that includes just the standard includes
//	RTDemo.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

int flag=0;
int counter=0;
int tmp;
int humi;
float temperature;
float humidity;
long packetnum=0;