OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 4476|回复: 9

UART3串口不能发送数据

[复制链接]

8

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
83
金钱
83
注册时间
2015-3-5
在线时间
0 小时
发表于 2015-3-6 10:44:27 | 显示全部楼层 |阅读模式
5金钱
[mw_shl_code=c,true]void RCC_Configuration(void) { ErrorStatus HSEStartUpStatus; RCC_DeInit(); //RCC ???????? RCC_HSEConfig(RCC_HSE_ON); //?????????§?? HSEStartUpStatus = RCC_WaitForHSEStartUp(); //?????????§?????¨ //?????§?????????????ò????????????×÷ //PLL?è?? SYSCLK/1 * 9 = 8*1*9 = 72MHz RCC_PLLConfig(RCC_PLLSource_PREDIV1, RCC_PLLMul_9); //????PLL RCC_PLLCmd(ENABLE); //????PLL???¨ while(RCC_GetFlagStatus(RCC_FLAG_PLLRDY) == RESET); //?????±??SYSCLK??×?PLL???? RCC_SYSCLKConfig(RCC_SYSCLKSource_PLLCLK); //?????±?????????????±?????¨ while(RCC_GetSYSCLKSource()!=0x08); if(HSEStartUpStatus==SUCCESS) { //?è??HCLK(AHB?±??)=SYSCLK RCC_HCLKConfig(RCC_SYSCLK_Div1); //PCLK1(APB1) = HCLK/2 RCC_PCLK1Config(RCC_HCLK_Div2); //PCLK2(APB2) = HCLK RCC_PCLK2Config(RCC_HCLK_Div1); //?è??ADC?±????????(12M) RCC_ADCCLKConfig(RCC_PCLK2_Div6); //FLASH?±?ò???? //??????:SYSCLK = 0~24MHz Latency=0 // SYSCLK = 24~48MHz Latency=1 // SYSCLK = 48~72MHz Latency=2 FLASH_SetLatency(FLASH_Latency_2); //????FLASH?¤???????? FLASH_PrefetchBufferCmd(FLASH_PrefetchBuffer_Enable); } //???÷?????é?????±?? //????GPIO RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB | RCC_APB2Periph_GPIOC | RCC_APB2Periph_GPIOD, ENABLE); //????AFIO RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); //????USART3 RCC_APB2PeriphClockCmd(RCC_APB1Periph_USART3, ENABLE); //????DMA?±?? RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE); //????ADC1?±?? RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1, ENABLE); } [/mw_shl_code]
[mw_shl_code=c,true]void USART3_Configuration(void) { USART_InitTypeDef USART_InitStructure; USART_DeInit(USART3); USART_InitStructure.USART_BaudRate = 9600; USART_InitStructure.USART_WordLength = USART_WordLength_8b; USART_InitStructure.USART_StopBits = USART_StopBits_1; USART_InitStructure.USART_Parity = USART_Parity_No; USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; USART_InitStructure.USART_Mode = USART_Mode_Tx | USART_Mode_Rx; USART_Init(USART3, &USART_InitStructure); USART_ITConfig(USART3, USART_IT_RXNE, ENABLE); USART_Cmd(USART3, ENABLE); } [/mw_shl_code]
[mw_shl_code=c,true]void GPIO_Configuration(void) { GPIO_InitTypeDef GPIO_InitStructure; //DAC0,DAC1???? GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6 | GPIO_Pin_7; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(GPIOB, &GPIO_InitStructure); //USART3_TX GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Init(GPIOB, &GPIO_InitStructure); //USART3_RX GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; GPIO_Init(GPIOB, &GPIO_InitStructure); //ADC_CH0--CH15 --> PA(0-7),PB0??PB1,PC(0-7) GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1 | GPIO_Pin_2 | GPIO_Pin_3 | GPIO_Pin_4 | GPIO_Pin_5 ; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AIN; GPIO_Init(GPIOC, &GPIO_InitStructure); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1 | GPIO_Pin_2 | GPIO_Pin_3 | GPIO_Pin_4 | GPIO_Pin_5 | GPIO_Pin_6 | GPIO_Pin_7; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AIN; GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AIN; GPIO_Init(GPIOB, &GPIO_InitStructure); } [/mw_shl_code]

[mw_shl_code=c,true]void DMA_Configuration(void) { DMA_InitTypeDef DMA_InitStructure; DMA_DeInit(DMA1_Channel1); DMA_InitStructure.DMA_PeripheralBaseAddr = ADC1_DR_Address; //DMA???èADC?ù???· DMA_InitStructure.DMA_MemoryBaseAddr = (u32)&AD_value; //DMA?????ù???· DMA_InitStructure.DMA_DIR = DMA_DIR_PeripheralSRC; //????×÷?????????????????? DMA_InitStructure.DMA_BufferSize = N*M;//DMA?¨????DMA???????ó?? DMA_InitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Disable;//???è???·?????÷??±? DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Enable; //???????·?????÷???? DMA_InitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_HalfWord; //?????í????16?? DMA_InitStructure.DMA_MemoryDataSize = DMA_MemoryDataSize_HalfWord; //?????í????16?? DMA_InitStructure.DMA_Mode = DMA_Mode_Circular; //?¤×÷?????·???????? DMA_InitStructure.DMA_Priority = DMA_Priority_High; //DMA?¨??X???????????? DMA_InitStructure.DMA_M2M = DMA_M2M_Disable; //DMA?¨??x?????è???????????????????? DMA_Init(DMA1_Channel1, &DMA_InitStructure); //?????,??DMA?? }[/mw_shl_code]

[mw_shl_code=c,true]void ADC1_Configuration(void) { ADC_InitTypeDef ADC_InitStructure; ADC_DeInit(ADC1); //?????èADC1???????????÷???è???±???? ADC_InitStructure.ADC_Mode = ADC_Mode_Independent; //ADC?¤×÷?????è???¨?????????© ADC_InitStructure.ADC_ScanConvMode = ENABLE; //????×????¤×÷???¨?è???? ADC_InitStructure.ADC_ContinuousConvMode = ENABLE; //????×??????? ADC_InitStructure.ADC_ExternalTrigConv = ADC_ExternalTrigConv_None; //??????·?×?????±? ADC_InitStructure.ADC_DataAlign = ADC_DataAlign_Right; //×????????????? ADC_InitStructure.ADC_NbrOfChannel = M; //?è?????ò×?????ADC?¨???????? ADC_Init(ADC1, &ADC_InitStructure); //ADC?????????????÷?????¨?è???????????????????÷?±???ò???© //ADC_TempSensorVrefintCmd(ENABLE); //????×????ò???°?¨????????ADC1,ADC?¨??X?????ò???ù???ò????Y?????ù?±????239.5???? ADC_RegularChannelConfig(ADC1, ADC_Channel_0, 1, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_1, 2, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_2, 3, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_3, 4, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_4, 5, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_5, 6, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_6, 7, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_7, 8, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_8, 9, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_9, 10, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_10, 11, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_11, 12, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_12, 13, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_13, 14, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_14, 15, ADC_SampleTime_239Cycles5); ADC_RegularChannelConfig(ADC1, ADC_Channel_15, 16, ADC_SampleTime_239Cycles5); //????×????ò??:?¨??16(?????????????÷),???ù?±??>2.2us,(239cycles) //ADC_RegularChannelConfig(ADC1, ADC_Channel_16, 2, ADC_SampleTime_239Cycles5); // Enable ADC1 ADC_Cmd(ADC1, ENABLE); //????ADC??DMA????(??????DMA????,???è???????è??DMA?¨????????) ADC_DMACmd(ADC1, ENABLE); // ADC×?????×?,???ú??????????,±??¤???? // Enable ADC1 reset calibaration register ADC_ResetCalibration(ADC1);//???????¨??ADC1????×??????÷ // Check the end of ADC1 reset calibration register while(ADC_GetResetCalibrationStatus(ADC1));//????ADC1??????×??????÷??×??????è?????? // Start ADC1 calibaration ADC_StartCalibration(ADC1); //???????¨ADC1????×?×??? // Check the end of ADC1 calibration while(ADC_GetCalibrationStatus(ADC1));//???????¨ADC1????×????ò???????è??×??? // ADC?á??--------------- }[/mw_shl_code]


int main(void)
{
int i;
long voltage[M];

RCC_Configuration();
  GPIO_Configuration();
  NVIC_Configuration();
  USART3_Configuration();
  ADC1_Configuration();
DMA_Configuration();

ADC_SoftwareStartConvCmd(ADC1, ENABLE);
DMA_Cmd(DMA1_Channel1, ENABLE);

while(1)
{
USART_SendData(USART3, 0x00);  
//delay(10);
while(USART_GetFlagStatus(USART3,USART_FLAG_TC)==RESET); //?????????ê????·??ò?????????????×???§
USART_SendData(USART3, 0xFF);
//delay(10);
while(USART_GetFlagStatus(USART3,USART_FLAG_TC)==RESET); //?????????ê????·??ò?????????????×???§
//ModRcv();
//filter();
//for(i=0;i<M;i++)
// {
 // voltage= GetVolt(After_filter);
//}
}

}

原子哥,帮我看看,是不是哪里配置错了,UART3没有数据输出,会一直停在查询清空标志处跳不出来,并且AD的前11个通道总会出现一些随机数,我总共要用16个通道,这可如何是好啊

最佳答案

查看完整内容[请看2#楼]

楼主 我给你个能用的配置。这个我在用,保证可以用的。 [mw_shl_code=c,true]void usart1_init(u32 bound) { //GPIO端口设置 GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1|RCC_APB2Periph_GPIOA|RCC_APB2Periph_AFIO, ENABLE); //USART1_TX PA.9 GPIO_InitStruc ...
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

30

主题

705

帖子

1

精华

新手上路

积分
21
金钱
21
注册时间
2013-3-14
在线时间
52 小时
发表于 2015-3-6 10:44:28 | 显示全部楼层
楼主 我给你个能用的配置。这个我在用,保证可以用的。
[mw_shl_code=c,true]void usart1_init(u32 bound) { //GPIO端口设置 GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1|RCC_APB2Periph_GPIOA|RCC_APB2Periph_AFIO, ENABLE); //USART1_TX PA.9 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Init(GPIOA, &GPIO_InitStructure); //USART1_RX PA.10 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; GPIO_Init(GPIOA, &GPIO_InitStructure); //Usart1 NVIC 配置 NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=0; //1 NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; //1 NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能 NVIC_Init(&NVIC_InitStructure); //根据NVIC_InitStruct中指定的参数初始化外设NVIC寄存器USART1 //USART 初始化设置 USART_InitStructure.USART_BaudRate = bound;//一般设置为9600; USART_InitStructure.USART_WordLength = USART_WordLength_8b; USART_InitStructure.USART_StopBits = USART_StopBits_1; USART_InitStructure.USART_Parity = USART_Parity_No; USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; USART_Init(USART1, &USART_InitStructure); USART_ITConfig(USART1, USART_IT_RXNE, ENABLE);//开启中断 USART_Cmd(USART1, ENABLE); //使能串口 //USART1->CR3|=1<<7; //使能串口DMA } void usart2_init(u32 bound) { //GPIO端口设置 GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; USART_ClockInitTypeDef USART_ClockInitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA|RCC_APB2Periph_AFIO, ENABLE); RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART2,ENABLE); //USART2_TX PA.2 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Init(GPIOA, &GPIO_InitStructure); //USART3_RX PA.3 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; GPIO_Init(GPIOA, &GPIO_InitStructure); NVIC_InitStructure.NVIC_IRQChannel = USART2_IRQn; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=1; //0 NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; //0 NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能 NVIC_Init(&NVIC_InitStructure); //根据NVIC_InitStruct中指定的参数初始化外设NVIC寄存器USART1 USART_InitStructure.USART_BaudRate = bound; USART_InitStructure.USART_WordLength = USART_WordLength_8b; USART_InitStructure.USART_StopBits = USART_StopBits_1; USART_InitStructure.USART_Parity = USART_Parity_No; USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; //--------------------------------------------------------------------------------- USART_ClockInitStructure.USART_Clock = USART_Clock_Disable; USART_ClockInitStructure.USART_CPOL = USART_CPOL_Low; USART_ClockInitStructure.USART_CPHA = USART_CPHA_2Edge; USART_ClockInitStructure.USART_LastBit = USART_LastBit_Disable; USART_ClockInit(USART2, &USART_ClockInitStructure); //--------------------------------------------------------------------------------- USART_Init(USART2, &USART_InitStructure); USART_ITConfig(USART2, USART_IT_RXNE, ENABLE);//开启中断 USART_Cmd(USART2, ENABLE); //使能串口 //USART2->CR3|=1<<7;//使能串口DMA } void usart3_init(u32 bound) { //GPIO端口设置 GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; USART_ClockInitTypeDef USART_ClockInitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB|RCC_APB2Periph_AFIO, ENABLE); RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART3,ENABLE); //USART3_TX PB10 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Init(GPIOB, &GPIO_InitStructure); //USART3_RX PB11 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; GPIO_Init(GPIOB, &GPIO_InitStructure); //Usart1 NVIC 配置 NVIC_InitStructure.NVIC_IRQChannel = USART3_IRQn; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority=2; //0 NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; //0 NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道使能 NVIC_Init(&NVIC_InitStructure); //根据NVIC_InitStruct中指定的参数初始化外设NVIC寄存器USART1 //USART 初始化设置 USART_InitStructure.USART_BaudRate = bound; //一般设置为9600; USART_InitStructure.USART_WordLength = USART_WordLength_8b; USART_InitStructure.USART_StopBits = USART_StopBits_1; USART_InitStructure.USART_Parity = USART_Parity_No; USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; ////////////////////////////////////////////////////////////////////// USART_ClockInitStructure.USART_Clock = USART_Clock_Disable; //USART_Clock_Enable ;//时钟高电平活动 //USART_Clock_Disable;//时钟低电平活动 USART_ClockInitStructure.USART_CPOL = USART_CPOL_Low; //USART_CPOL_High;//时钟高电平 //USART_CPOL_Low ;//时钟低电平 USART_ClockInitStructure.USART_CPHA = USART_CPHA_2Edge; //USART_CPHA_1Edge;//时钟第一个边沿进行数据捕获 //USART_CPHA_2Edge;//时钟第二个边沿进行数据捕获 USART_ClockInitStructure.USART_LastBit = USART_LastBit_Disable; //USART_LastBit_Disable;//最后一位数据的时钟脉冲不从 SCLK输出 //USART_LastBit_Enable ;//最后一位数据的时钟脉冲从 SCLK输出 USART_ClockInit(USART3, &USART_ClockInitStructure); //////////////////////////////////////////////////////////////////////////////////////////////// USART_Init(USART3, &USART_InitStructure); USART_ITConfig(USART3, USART_IT_RXNE, ENABLE);//开启中断 USART_Cmd(USART3, ENABLE); //使能串口 }[/mw_shl_code]

原子哥是不是又要出黑科技了呀。^_^...
回复

使用道具 举报

8

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
83
金钱
83
注册时间
2015-3-5
在线时间
0 小时
 楼主| 发表于 2015-3-6 10:44:28 | 显示全部楼层
谢谢各位了,问题找到了,是UART的时钟没有配置对,粗心小错误害死人啊

  RCC_APB2PeriphClockCmd(RCC_APB1Periph_USART3, ENABLE);  应该为RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART3, ENABLE);
回复

使用道具 举报

58

主题

6294

帖子

1

精华

资深版主

Rank: 8Rank: 8

积分
11558
金钱
11558
注册时间
2014-4-1
在线时间
1318 小时
发表于 2015-3-6 13:54:49 | 显示全部楼层
应当是配置错了。

对比一下例程。
回复

使用道具 举报

30

主题

705

帖子

1

精华

新手上路

积分
21
金钱
21
注册时间
2013-3-14
在线时间
52 小时
发表于 2015-3-6 14:21:36 | 显示全部楼层
我的main函数是紫样的:
int main(void)
{
// u8 LED_flag=0;
// u8 delay_LED=0;
SystemInit();
delay_init(72);      //延时初始化
NVIC_Configuration();
Timerx_Init(100,7199);//10Khz的计数频率,计数到5000为500ms,100为10ms
//LED_Init();
usart1_init(9600);//USART1_Config
//usart2_init(9600);//USART2_Config
usart3_init(115200);//USART3_Config

delay_ms(200);
// IWDG_Init(IWDG_Prescaler_64,625);//1秒钟的看门狗
// delay_ms(100);
//IWDG_Feed();//喂狗
    while(1)
    {
        //IWDG_Feed();//喂狗
//INPUT_server();
usart1_server();
//usart2_server();
usart3_server();
//Encoder_server();//Printf_encoder
//Motor_server();
}
}
原子哥是不是又要出黑科技了呀。^_^...
回复

使用道具 举报

4

主题

25

帖子

0

精华

初级会员

Rank: 2

积分
58
金钱
58
注册时间
2015-2-9
在线时间
2 小时
发表于 2015-3-6 16:50:19 | 显示全部楼层
最简单的就是对着官方库对比程序。
回复

使用道具 举报

8

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
83
金钱
83
注册时间
2015-3-5
在线时间
0 小时
 楼主| 发表于 2015-3-10 13:52:44 | 显示全部楼层
回复【3楼】fanghuiopenedv:
---------------------------------
用你的和用我的都不行,我用UART3,发0x00,0xaa,0xff但是串口接收到的是0x00,0x00,0xe0
回复

使用道具 举报

30

主题

705

帖子

1

精华

新手上路

积分
21
金钱
21
注册时间
2013-3-14
在线时间
52 小时
发表于 2015-3-11 10:31:18 | 显示全部楼层
回复【7楼】Lion_chang_1988:
---------------------------------
那你的程序有问题。我的是可以用的哦!
原子哥是不是又要出黑科技了呀。^_^...
回复

使用道具 举报

8

主题

31

帖子

0

精华

初级会员

Rank: 2

积分
83
金钱
83
注册时间
2015-3-5
在线时间
0 小时
 楼主| 发表于 2015-3-12 08:48:56 | 显示全部楼层
回复【8楼】fanghuiopenedv:
---------------------------------
程序???你指的是???
回复

使用道具 举报

30

主题

705

帖子

1

精华

新手上路

积分
21
金钱
21
注册时间
2013-3-14
在线时间
52 小时
发表于 2015-3-14 09:52:51 | 显示全部楼层
回复【9楼】Lion_chang_1988:
---------------------------------
你的收发函数写的估计有问题。
原子哥是不是又要出黑科技了呀。^_^...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-24 20:26

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表