FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    Proteus8.9 Simulation STM32407ZGT6 Series 001_走 马

     

    First, open the template file (can be downloaded with the text placed in the document is opened). (As shown in FIG. 1) FIG. 1 II click Source Code tab. (As shown in FIG. 3) in FIG. 2 FIG. 3 III, right click, add new files led.cled.h. (As shown in FIG. 4) FIG. 4 IV, save the project file, edit main.cled.c led.h code. (As shown in FIG. 5) FIG. 5 five, Main.c Code: #include "stm32f4xx_conf.h" #include "sys.h" #include "delay.h" #include "usart.h" #include "led.h "u8 t = 0, str [] =" Angela loves baby .. \ n "; int main (void) {NVIC_PriorityGroupConfig (NVIC_PriorityGroup_2); // set the system interrupt priority packets 2 delay_init (168); // initialize delay function uart_init (9600); // initialize serial LED_Init (); // initialize LED port if (USART_RX_STA & 0x8000) while (1) {LED0 = 1; // first illumination lamp LED0 delay_ms (500); LED0 = 0; LED1 = 1; // first illumination lamp LED1 delay_ms (500); LED1 = 0; LED2 = 1; // first illumination lamp LED2 delay_ms (500); LED2 = 0;}} Led.c Code: #include "led. h "void LED_Init (void) {GPIO_InitTypeDef GPIO_InitStructure; RCC_AHB1PeriphClockCmd (RCC_AHB1Periph_GPIOC, eNABLE); // enable GPIOF clock // GPIOF9, F10 initialization setting GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1 | GPIO_Pin_2 | GPIO_Pin_3; // LED corresponding to the pin GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; // normal output mode GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; // push-pull output GPIO_InitStructure.GPIO_Speed ​​= GPIO_Speed_100MHz; // 100MHz GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; // pull GPIO_Init (GPIOC, & GPIO_InitStructure); // initialize} Led .h Code: #ifndef __LED_H # define __LED_H # include "sys.h" // LED port definition #define LED0 PCout (1) #define LED1 PCout (2) #define LED2 PCout (3) void LED_Init (void); // initialize #endif six clicks to build the project button to compile the project. (Shown below in FIG. 6) FIG. 6 seven, the bottom left click simulation button, visible red, yellow, green 0.5s each jump flash emulation. (As shown in Figure 7,8,9) 7 8 9 Eight, select release, click on the button to build the project, compile the project Hex File. (As shown in FIG. 10) in FIG. 10 IX I is prepared in F407ZGT6 core plate P, P are automatically downloaded by the download software Proteus VSM Studio Hex file generated to the development board. Visible red, yellow, green development board module each red, yellow, green jump flash 0.5s. (As shown in FIG. 12, 13) in FIG. 13. FIG. 11 FIG. 12 Annex Proteus8.9 series based simulation STM32407ZGT6 template t00 to open Proteus8.9 installed in a computer folder. Need further information, please join the QQ group: 976 235 464, Read more

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us