Share your repls and programming experiences

← Back to all posts
barcode test
tiantian1645 (3)

#include <stdio.h>
#include "emb_type.h"

typedef struct {
uint32_t branch; / 批次 /
uint32_t date; / 日期 /
uint8_t stage; / 定标段索引 /
uint16_t i_values[13]; / 标段数据 标准机上测试值 13个灯 610 6 / 550 6 / 405 1 /
uint32_t check; /
校验数据 */
} sBarcodeCorrectInfo;

uint32_t barcode_Str_2_Int_Base_10(uint8_t pBuffer, uint8_t length);
uint32_t barcode_Str_2_Int_Base_16(uint8_t
pBuffer, uint8_t length);
unsigned char CRC8(unsigned char * p, uint16_t len);

Commentshotnewtop
TheForArkLD (217)

This program is cool!


Wait are you chinese?