-
楼主具体要多少呢
-
这应该属于学习心得吧
-
猜不着....不如分析电路,看它该是什么样的东西.
-
引用 40 楼 reallyu 的回复:
跳点的原因可能是落笔点和抬笔点采样不准确吧
就是刚按下和刚抬起的那一次采样,由于触摸屏的原因可能不准
把这些点丢弃,只在定时器中断中采的点才有效试试.
对刚才经过测试,的确是这两个部分有问题,现在应该可以解决。嘿嘿。
刚才测试了半小时,比较数据规律。是这个原因。
-
虚拟串口的例程在105系列中,那个例子有Bug,请等下一个版本出来你再测试。
-
是不是问题太简单或太离谱,总是得不到帮助。我确实希望得到高手的相助,再次表示感谢。
-
嵌入式高手,我不是,只不过,更正楼主一个观点,大学要学什么东西 ,并不是等老师教你,而是你自己抽时间去摸索的。。。我是过来人,,,,所有 的课程安排都这样,先基础课,然后专业课,假如你想提前学专业课,搞专业的东西,只能自己学好基础的同时,决心搞专业。。
-
上课不认真了吧 ,,,,好好听 老师都讲了
-
//*****************added by haiou for magcard driver in 2010-04-20*****************************
if(VirtualIRQ == IRQ_EINT10) //Track3
{
//OALMSG(TRUE, (L"*********OEMInterruptHandler:IRQ_EINT8 haiou************\r\n"));
/*
g_pMAGBuf->primal_num_track3 = 0;
for(g_pMAGBuf->primal_num_track3; g_pMAGBuf->primal_num_track3primal_num_track3++)
{
g_pMAGBuf->card_data_track3[g_pMAGBuf->primal_num_track3] = g_pMAGBuf->primal_num_track3;
}
g_pMAGBuf->primal_num_track3 = 0;
g_pGPIOReg->EINT0MASK &= ~(0x1primal_num_track3 < 1000))
{
g_pMAGBuf->card_data_track3[g_pMAGBuf->primal_num_track3++] = (char)(g_pGPIOReg->GPKDAT & TRACK3); //读出GPK2 bit
}
g_pMAGBuf->trans_flag |= BRUSH_BEGIN;
g_pGPIOReg->EINT0MASK &= ~(0x1primal_num_track2 < 300))
{
g_pMAGBuf->card_data_track2[g_pMAGBuf->primal_num_track2++] = (char)(g_pGPIOReg->GPKDAT & TRACK2); //读出GPK3 bit
}
g_pMAGBuf->trans_flag |= BRUSH_BEGIN;
g_pGPIOReg->EINT0MASK &= ~(0x1
-
我的本意是在实验 串口工作方式0 的时候,检查下数据的移位是否正确(用P1口的一个二极管来实现)
这样可以吗?
-
我是希望delphi能有对应的框架,能让delphi在企业级应用、市场里叫响
-
To 电子乌托邦:
我是楼主,这个帖子我搜到了,也进行了尝试,更改之后,系统直接跳转的异常HardFaultHandler.具体原因还没有查明。感谢大家的帮忙,期待更详细的解答
-
进来看看学习一下
~~~
-
呵呵,测试时最好一次只测试一个地方的东西,以前我也犯过这方面的错误,建议用官方的东西测试,如下:
Example
CStatic myStatic;
// Create a child bitmap static control.
myStatic.Create(_T("my static"),
WS_CHILD|WS_VISIBLE|SS_BITMAP|SS_CENTERIMAGE, CRect(10,10,150,50),
pParentWnd);
// Set the bitmap of the static control to be the
// system check-mark bitmap.
myStatic.SetBitmap( ::LoadBitmap(NULL, MAKEINTRESOURCE(OBM_CHECK)) );
Requirements
Windows CE versions: 1.0 and later
Header file: Declared in Afxwin.h
复制代码
-
去调试状态看看CString的值是否正确,如果watch窗口看不到,可以去memory窗口。
出现错误了,要一个个去排除可能的原因
-
正在学习……
-
楼主是想卖钱的,1楼2楼想砸场子?
-
*
* TCP_NODELAY is a mechanism to turn off the use of this algorithm.
* If this option is turned on and there is data to be sent out, TCP
* bypasses the congestion-avoidance algorithm: any available data
* segments are sent out if there is enough space in the send window.
*
* .SS "TCP_MAXSEG -- Changing TCP MSS for the connection"
* Specify the TCP_MAXSEG option to decrease the maximum allowable size of an
* outgoing TCP segment. This option cannot be used to increase the MSS.
* .CS
* setsockopt (sock, IPPROTO_TCP, TCP_MAXSEG, &optval, sizeof (optval));
* .CE
* The value at is an integer set to the desired MSS (eg. 1024).
*
* When a TCP socket is created, the MSS is initialized to the default MSS
* value which is determined by the configuration parameter `TCP_MSS_DFLT' (512
* by default). When a connection request is received from the other end with
* an MSS option, the MSS is modified depending on the value of the received
* MSS and on the results of Path MTU Discovery (which is enabled by default).
* The MSS may be set as high as the outgoing interface MTU (1460 for an
* Ethernet). Therefore, after a call to `socket' but before a connection is
* established, an application can only decrease the MSS from its default of 512.
* After a connection is established, the application can decrease the MSS from
* whatever value was selected.
*
* .SS "SO_DEBUG -- Debugging the underlying protocol"
* Specify the SO_DEBUG option to let the underlying protocol module record
* debug information.
* .CS
* setsockopt (sock, SOL_SOCKET, SO_DEBUG, &optval, sizeof (optval));
* .CE
* The value at for this option is an integer (type `int'),
* either 1 (on) or 0 (off).
*
* OPTION FOR DATAGRAM SOCKETS
* The following section discusses an option for datagram (UDP) sockets.
*
* .SS "SO_BROADCAST -- Sending to Multiple Destinations"
* Specify the SO_BROADCAST option when an application needs to send
* data to more than one destination:
* .CS
* setsockopt (sock, SOL_SOCKET, SO_BROADCAST, &optval, sizeof (optval));
* .CE
* The value at is an integer (type ), either 1 (on) or 0
* (off).
*
* OPTIONS FOR DATAGRAM AND RAW SOCKETS
* The following section discusses options for multicasting on UDP and RAW
* sockets.
*
* .SS "IP_ADD_MEMBERSHIP -- Join a Multicast Group"
* Specify the IP_ADD_MEMBERSHIP option when a process needs to join
* multicast group:
* .CS
* setsockopt (sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (char *)&ipMreq,
* sizeof (ipMreq));
* .CE
* The value of is an 'ip_mreq' structure.
* `ipMreq.imr_multiaddr.s_addr' is the internet multicast address
* `ipMreq.imr_interface.s_addr' is the internet unicast address of the
* interface through which the multicast packet needs to pass.
*
* .SS "IP_DROP_MEMBERSHIP -- Leave a Multicast Group"
* Specify the IP_DROP_MEMBERSHIP option when a process needs to leave
* a previously joined multicast group:
* .CS
* setsockopt (sock, IPPROTO_IP, IP_DROP_MEMBERSHIP, (char *)&ipMreq,
* sizeof (ipMreq));
* .CE
* The value of is an 'ip_mreq' structure.
* `ipMreq.imr_multiaddr.s_addr' is the internet multicast address.
* `ipMreq.imr_interface.s_addr' is the internet unicast address of the
* interface to which the multicast address was bound.
*
* .SS "IP_MULTICAST_IF -- Select a Default Interface for Outgoing Multicasts"
* Specify the IP_MULTICAST_IF option when an application needs to specify
* an outgoing network interface through which all multicast packets
* are sent:
* .CS
* setsockopt (sock, IPPROTO_IP, IP_MULTICAST_IF, (char *)&ifAddr,
* sizeof (mCastAddr));
* .CE
* The value of is an 'in_addr' structure.
* `ifAddr.s_addr' is the internet network interface address.
-
CE下有的是控制面板
-
容易断裂的贴片电阻电容我都接触过了,没话说。