1648 views|0 replies

1140

Posts

0

Resources
The OP

Programming example: CPU card response data command [Copy link]

Get response data command/******************************************** Function name: SendC0Comm Function function: Send the "get response data" command Input parameter: None Output parameter: None Description: When the received command contains the data to be received, send this command to start receiving data****************************************/ void SendC0Comm(void) { unsigned char cTemp; Delay1XETU(4); if(TxAndRxBuff[0]==0x61) { cTemp=TxAndRxBuff[1]; cCommandLen=0x05; TxAndRxBuff[0]=0x00; TxAndRxBuff[1]=0xc0; TxAndRxBuff[2]=0x00; TxAndRxBuff[3]=0x00; TxAndRxBuff[4]=cTemp; SendCommandHead_Pro(); } else CardError=ErrorRWBIT|CardError; }


This post is from Microcontroller MCU

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list