芯片解密|单片机解密|IC解密|芯片破解|芯片复制| PCB抄板|软件开发

飞芯科技-芯片解密|单片机解密|IC解密|芯片破解|芯片复制| PCB抄板|软件开发

新唐M0内核的智能空气检测仪程序设计芯片复制

芯片复制芯片解密1.lcd段码屏显示
芯片解密2.传感器部分:温湿度  SHT31  PM2.5: 四方光电  PM2008  CO2 : CM1106  TVOC传感器
芯片解密3.4路触摸按键:  经典算法 : 长按 短按  持续按键  复合按键
芯片解密5,庆科wifi模块 串口通信
芯片解密6.锂电池 充电 升压 二合一
芯片解密7.设备联控:采用标准的MOSBUS RTU 协议
芯片解密

单片机源程序如下:

  1. /**************************************************************************//**
  2. * @file     main.c
  3. * @version  V2.00
  4. * $Revision: 5 $
  5. * $Date: 15/01/16 11:44a $
  6. * @brief    Implement timer counting in periodic mode.
  7. * @note
  8. * Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.
  9. ******************************************************************************/
  10. #include        "define.H"

  11. #define PLL_CLOCK           50000000

  12. /*---------------------------------------------------------------------------------------------------------*/
  13. /* Global Interface Variables Declarations                                                                 */
  14. /*---------------------------------------------------------------------------------------------------------*/
  15. volatile uint32_t g_au32TMRINTCount[4] = {0};

  16. uint8_t PwmIO_count;


  17. uint16_t        PM_value;
  18. uint16_t        CO2_value;
  19. uint16_t        HCHO_value;

  20. #if 0
  21. /*
  22. V003 2019-03-02
  23. 1,Power on and power off button change to touch leave control,
  24.     perviously is short press control.
  25. 2.WIFI COM temperture,perviously version PCBA send indoor temperture,
  26.    modified to send inlet air temperature.

  27.    
  28. V009 2019-05-25
  29. 1.Add DS1302 RTC
  30. 2.Adjust the GPIO with 20190325 schematic

  31. V010 2019-05-29
  32. 1.Set PM2.5 value 999 up  limit
  33. 2.Modify the button sequence except child lock.
  34. */
  35. #endif


  36. /**
  37. * @brief       Timer0 IRQ
  38. *
  39. * @param       None
  40. *
  41. * @return      None
  42. *
  43. * @details     The Timer0 default IRQ, declared in startup_NUC131.s.
  44. */
  45. void TMR0_IRQHandler(void)
  46. {
  47.     if(TIMER_GetIntFlag(TIMER0) == 1)
  48.     {
  49.         /* Clear Timer0 time-out interrupt flag */
  50.         TIMER_ClearIntFlag(TIMER0);
  51.                 if(Time.t_1ms==0)
  52.                 {
  53.                         Time.t_1ms=10;
  54.                         F_10ms=1;
  55.                         Time_handler();
  56.                 }
  57.                 Time.t_1ms--;
  58.                 F_1ms=1;
  59.                 if (++PwmIO_count > 14)
  60.                         PwmIO_count = 0;
  61.                 if (PwmIO_set > PwmIO_count)
  62.                         LedCom_pin = 1;
  63.                 else
  64.                         LedCom_pin = 0;
  65.         //        LedCom_pin=1;
  66.     }
  67. }



联系方式

地址:石家庄市新华区民族路77号华强广场D座2009
电话:0311-88816616/87087811
手机:13315190088
传真:0311-67901001
联系人:张工
网址:www.feixindz.com
邮箱:feixindz@163.com
微信:xinpianjiemi
QQ:527263666/568069805

在线客服
热线电话

企业微信