اطلاعیه

Collapse
No announcement yet.

emwin روی برد اموزشی.حتما امتحان کنید

Collapse
X
 
  • فیلتر
  • زمان
  • Show
Clear All
new posts

    پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

    http://www.mediafire.com/download/f4..._libraries.exe
    http://www.mediafire.com/view/fratwk...1_emWin5_6.pdf
    واسه دوستایی که نتوستن دانلود کنن
    دلا خو کن به تنهایی که از تنها بلا خیزد

    دیدگاه


      پاسخ : پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

      نوشته اصلی توسط plasma
      راه اندازی ili9325 یا همون LCD n96

      [/glow]
      کافیه این فایل هارو اضافه کنید:
      LCD_X_ILI9325.h:
      [code=c]
      //ILI9325 Low level communication routines//


      #ifndef LCD_X_ELT240320_H
      #define LCD_X_ELT240320_H
      #endif


      /* Includes ------------------------------------------------------------------*/
      //ifndef WIN32


      #include "LPC17xx.h"




      /* LCD Interface */
      //#define PIN_EN (1 << 19) Not used for ILI9320/5, so not defined!
      //#define PIN_LE (1 << 20) Not used for ILI9320/5, so not defined!
      //#define PIN_DIR (1 << 13) Not used for ILI9320/5, so not defined!
      #define LCS 17
      #define LRS 18
      #define LWR 19
      #define LRD 20
      #define LRST 21
      #define LCD_Offset 15
      #define PIN_CS (1 << LCS)
      #define PIN_RS (1 << LRS)
      #define PIN_WR (1 << LWR)
      #define PIN_RD (1 << LRD)
      #define PIN_RST (1 << LRST)
      //#define LCD_DBPort LPC_GPIO1 Not Supported but default Port is PORT1
      //#define LCD_CPort LPC_GPIO0 Not Supported but default Port is PORT0


      //#define LCD_EN(x) ((x) ? (LPC_GPIO2->FIOSET = PIN_EN) : (LPC_GPIO2->FIOCLR = PIN_EN)); Not used for ILI9320/5
      //#define LCD_LE(x) ((x) ? (LPC_GPIO2->FIOSET = PIN_LE) : (LPC_GPIO2->FIOCLR = PIN_LE)); Not used for ILI9320/5
      //#define LCD_DIR(x) ((x) ? (LPC_GPIO2->FIOSET = PIN_DIR) : (LPC_GPIO2->FIOCLR = PIN_DIR));Not used for ILI9320/5
      #define LCD_CS_CLR LPC_GPIO0->FIOCLR = PIN_CS
      #define LCD_RS_CLR LPC_GPIO0->FIOCLR = PIN_RS
      #define LCD_WR_CLR LPC_GPIO0->FIOCLR = PIN_WR
      #define LCD_RD_CLR LPC_GPIO0->FIOCLR = PIN_RD
      #define LCD_RST_CLR LPC_GPIO0->FIOCLR = PIN_RST


      #define LCD_CS_SET LPC_GPIO0->FIOSET = PIN_CS
      #define LCD_RS_SET LPC_GPIO0->FIOSET = PIN_RS
      #define LCD_WR_SET LPC_GPIO0->FIOSET = PIN_WR
      #define LCD_RD_SET LPC_GPIO0->FIOSET = PIN_RD
      #define LCD_RST_SET LPC_GPIO0->FIOSET = PIN_RST


      void LCD_X_Init(void);
      void LCD_X_Write00_16(U16 c);
      void LCD_X_Write01_16(U16 c);
      U16 LCD_X_Read01_16(void);
      void LCD_X_WriteM01_16(U16 * pData, int NumWords);
      void LCD_X_ReadM01_16(U16 * pData, int NumWords);
      //#endif
      [/code]
      [/size]
      [/size]LCD_X_ILI9325.c
      [code=c]

      /************************************************** *******************
      * SEGGER Microcontroller GmbH & Co. KG *
      * Solutions for real time microcontroller applications *
      ************************************************** ********************
      * *
      * (c) 1996 - 2012 SEGGER Microcontroller GmbH & Co. KG *
      * *
      * Internet: www.segger.com Support: support@segger.com *
      * *
      ************************************************** ********************


      ** emWin V5.16 - Graphical user interface for embedded applications **
      All Intellectual Property rights in the Software belongs to SEGGER.
      emWin is protected by international copyright laws. Knowledge of the
      source code may not be used to write a similar product. This file may
      only be used in accordance with the following terms:


      The software has been licensed to ARM LIMITED whose registered office
      is situated at 110 Fulbourn Road, Cambridge CB1 9NJ, England solely
      for the purposes of creating libraries for ARM7, ARM9, Cortex-M
      series, and Cortex-R4 processor-based devices, sublicensed and
      distributed as part of the MDK-ARM Professional under the terms and
      conditions of the End User License supplied with the MDK-ARM
      Professional.
      Full source code is available at: www.segger.com


      We appreciate your understanding and fairness.
      ----------------------------------------------------------------------
      File : LCD_X_ILI9325.c
      Purpose : Port routines for ILI9325
      ----------------------------------------------------------------------
      */


      #include "GUI.h"
      #include <LPC17xx.h>


      #include "LCD_X_ILI9325.h"
      /************************************************** *******************
      *
      * Hardware configuration
      *
      ************************************************** ********************
      */




      /************************************************** *******************
      *
      * Static data
      *
      ************************************************** ********************
      */


      //static unsigned short DevID; /* Device ID */




      /************************************************** *******************
      *
      * Static code
      *
      ************************************************** *******************
      */










      /************************************************** *******************
      *
      * Exported code
      *
      ************************************************** *******************
      */


      __asm void wait()
      {
      nop
      BX lr
      }






      void wait_ms(int count)
      {
      unsigned long counter = count ;
      counter *= 10000;
      while(counter--);
      }


      void wait_delay(int count)
      {
      while(count--);
      }


      //-----------------------------------------------------------------------
      /*void tftlcd_clear(void)
      {
      tftlcd_fill(0xFFFFFF);


      }*/


      /************************************************** *******************
      *
      * LCD_X_Init
      *
      * Purpose:
      * This routine should be called from your application program
      * to set port pins to their initial values
      */
      void LCD_X_Init(void) {
      LPC_GPIO1->FIODIR |= (0xFFFF << 15); // output
      LPC_GPIO0->FIODIR |= (1 << LRST) | (1 << LRS) | (1 << LCS) | (1 << LWR) | (1 << LRD);
      LPC_GPIO0->FIOSET = (1 << LRST) | (1 << LCS) | (1 << LRD);
      LPC_GPIO0->FIOCLR = (1 << LWR);




      // Reset LCD Chipset
      LCD_RST_CLR;
      wait();
      LCD_RST_SET;
      wait();


      }


      /************************************************** *******************
      *
      * LCD_X_Write00_16
      *
      * Purpose:
      * Write to controller, with A0 = 0
      */
      void LCD_X_Write00_16(U16 c) {
      LCD_CS_CLR;
      LCD_RS_CLR;
      LCD_RD_SET;
      LPC_GPIO1->FIODIR |= (0xFFFF << LCD_Offset);
      LPC_GPIO1->FIOCLR = (0xFFFF << LCD_Offset);
      LPC_GPIO1->FIOSET = (c << LCD_Offset);
      wait();
      wait();
      LCD_WR_CLR;
      wait();
      LCD_WR_SET;
      LCD_CS_SET;
      }


      /************************************************** *******************
      *
      * LCD_X_Write01_16
      *
      * Purpose:
      * Write to controller, with A0 = 1
      */


      void LCD_X_Write01_16(U16 c) {


      LCD_CS_CLR;
      LCD_RS_SET;
      LPC_GPIO1->FIODIR |= (0xFFFF << LCD_Offset);
      LPC_GPIO1->FIOCLR = (0xFFFF << LCD_Offset);
      LPC_GPIO1->FIOSET = (c << LCD_Offset);
      wait();
      LCD_WR_CLR;
      wait();
      LCD_WR_SET;
      LCD_CS_SET;


      }


      /************************************************** *******************
      *
      * LCD_X_Read01_16
      *
      * Purpose:
      * Read from controller, with A0 = 1
      */
      U16 LCD_X_Read01_16(void) {
      int id;
      uint16_t value;

      LCD_CS_CLR;
      LCD_RS_SET;
      LCD_WR_SET;
      LCD_RD_CLR;
      LPC_GPIO1->FIODIR &= (~(0xFFFF << LCD_Offset));
      wait();
      value = ((LPC_GPIO1->FIOPIN & (0xFFFF << LCD_Offset)>>15));
      LCD_RD_SET;
      LCD_CS_SET;

      return value;
      }


      /************************************************** *******************
      *
      * LCD_X_WriteM01_16
      *
      * Purpose:
      * Write multiple bytes to controller, with A0 = 1
      */
      void LCD_X_WriteM01_16(U16 * pData, int NumWords) {


      for (; NumWords; NumWords--) {
      LCD_X_Write01_16(*pData);pData++; }
      }


      /************************************************** *******************
      *
      * LCD_X_ReadM01_16
      *
      * Purpose:
      * Read multiple bytes from controller, with A0 = 1
      */
      void LCD_X_ReadM01_16(U16 * pData, int NumWords) {
      uint16_t value;


      for (; NumWords; NumWords--)
      {
      LPC_GPIO1->FIODIR &= (~(0xFFFF << LCD_Offset));
      wait();
      LCD_CS_CLR;
      LCD_RS_SET;
      LCD_WR_SET;
      LCD_RD_CLR;
      wait();
      *pData = ((LPC_GPIO1->FIOPIN & (0xFFFF << LCD_Offset))>>LCD_Offset);
      pData++;
      LCD_RD_SET;
      LCD_CS_SET;
      }


      }


      /*************************** End of file ****************************/


      [/code]
      LCDConf.c
      [code=c]

      /************************************************** **************************
      * @file LCDConf.c
      * @brief Display controller configuration
      * @version 1.0
      * @date 09. May. 2012
      *
      * @note
      * Copyright (C) 2012 NXP Semiconductors(NXP), All rights reserved.
      */


      #include "GUI.h"
      #include "LCD_X_ILI9325.h"


      #ifndef _WINDOWS
      #include "GUIDRV_FlexColor.h"
      #endif


      /************************************************** *******************
      *
      * Layer configuration
      *
      ************************************************** ********************
      */
      //
      // Color depth
      //
      #define LCD_BITSPERPIXEL 18 /* Currently the values 16 and 18 are supported */
      //
      // Physical display size
      //
      #define XSIZE_PHYS 320
      #define YSIZE_PHYS 240
      #define GUI_TOUCH_AD_TOP 877
      #define GUI_TOUCH_AD_BOTTOM 273
      #define GUI_TOUCH_AD_LEFT 232
      #define GUI_TOUCH_AD_RIGHT 918
      //
      // Color conversion
      //
      #define COLOR_CONVERSION GUICC_565


      //
      // Display driver
      //
      #define DISPLAY_DRIVER GUIDRV_FLEXCOLOR


      //
      // Orientation
      //
      //#define DISPLAY_ORIENTATION (0)
      //#define DISPLAY_ORIENTATION (GUI_MIRROR_X)
      //#define DISPLAY_ORIENTATION (GUI_MIRROR_Y)
      //#define DISPLAY_ORIENTATION (GUI_MIRROR_X | GUI_MIRROR_Y)
      #define DISPLAY_ORIENTATION (GUI_SWAP_XY)
      //#define DISPLAY_ORIENTATION (GUI_MIRROR_X | GUI_SWAP_XY)
      //#define DISPLAY_ORIENTATION (GUI_MIRROR_Y | GUI_SWAP_XY)
      //#define DISPLAY_ORIENTATION (GUI_MIRROR_X | GUI_MIRROR_Y | GUI_SWAP_XY)


      /************************************************** *******************
      *
      * Configuration checking
      *
      ************************************************** ********************
      */
      #ifndef VXSIZE_PHYS
      #define VXSIZE_PHYS XSIZE_PHYS
      #endif
      #ifndef VYSIZE_PHYS
      #define VYSIZE_PHYS YSIZE_PHYS
      #endif
      #ifndef XSIZE_PHYS
      #error Physical X size of display is not defined!
      #endif
      #ifndef YSIZE_PHYS
      #error Physical Y size of display is not defined!
      #endif
      #ifndef COLOR_CONVERSION
      #error Color conversion not defined!
      #endif
      #ifndef DISPLAY_DRIVER
      #error No display driver defined!
      #endif
      #ifndef DISPLAY_ORIENTATION
      #define DISPLAY_ORIENTATION 0
      #endif


      /************************************************** *******************
      *
      * Static code
      *
      ************************************************** ********************
      */


      #define wr_reg(reg, data) LCD_X_Write00_16(reg); LCD_X_Write01_16(data);


      /************************************************** *******************
      *
      * _InitController
      *
      * Purpose:
      * Initializes the display controller
      */
      static void _InitController(void) {
      #ifndef WIN32


      GUI_X_Delay(10);
      LCD_X_Init();
      GUI_X_Delay(10);


      /* Start Initial Sequence ------------------------------------------------*/
      wr_reg(0x01, 0x0100); /* Set SS bit */
      wr_reg(0x02, 0x0700); /* Set 1 line inversion */
      wr_reg(0x04, 0x0000); /* Resize register */
      wr_reg(0x08, 0x0207); /* 2 lines front, 7 back porch */
      wr_reg(0x09, 0x0000); /* Set non-disp area refresh cyc ISC */
      wr_reg(0x0A, 0x0000); /* FMARK function */
      wr_reg(0x0C, 0x0000); /* RGB interface setting */
      wr_reg(0x0D, 0x0000); /* Frame marker Position */
      wr_reg(0x0F, 0x0000); /* RGB interface polarity */


      /* Power On sequence -----------------------------------------------------*/
      wr_reg(0x10, 0x0000); /* Reset Power Control 1 */
      wr_reg(0x11, 0x0000); /* Reset Power Control 2 */
      wr_reg(0x12, 0x0000); /* Reset Power Control 3 */
      wr_reg(0x13, 0x0000); /* Reset Power Control 4 */
      GUI_X_Delay(200); /* Discharge cap power voltage (200ms)*/
      wr_reg(0x10, 0x12B0); /* SAP, BT[3:0], AP, DSTB, SLP, STB */
      wr_reg(0x11, 0x0007); /* DC1[2:0], DC0[2:0], VC[2:0] */
      GUI_X_Delay(50); /* Delay 50 ms */
      wr_reg(0x12, 0x01BD); /* VREG1OUT voltage */
      GUI_X_Delay(50); /* Delay 50 ms */
      wr_reg(0x13, 0x1400); /* VDV[4:0] for VCOM amplitude */
      wr_reg(0x29, 0x000E); /* VCM[4:0] for VCOMH */
      GUI_X_Delay(50); /* Delay 50 ms */
      wr_reg(0x20, 0x0000); /* GRAM horizontal Address */
      wr_reg(0x21, 0x0000); /* GRAM Vertical Address */
      /* Adjust the Gamma Curve ------------------------------------------------*/
      wr_reg(0x30, 0x0B0D);
      wr_reg(0x31, 0x1923);
      wr_reg(0x32, 0x1C26);
      wr_reg(0x33, 0x261C);
      wr_reg(0x34, 0x2419);
      wr_reg(0x35, 0x0D0B);
      wr_reg(0x36, 0x1006);
      wr_reg(0x37, 0x0610);
      wr_reg(0x38, 0x0706);
      wr_reg(0x39, 0x0304);
      wr_reg(0x3A, 0x0E05);
      wr_reg(0x3B, 0x0E01);
      wr_reg(0x3C, 0x010E);
      wr_reg(0x3D, 0x050E);
      wr_reg(0x3E, 0x0403);
      wr_reg(0x3F, 0x0607);
      /* Set GRAM area ---------------------------------------------------------*/
      wr_reg(0x50, 0x0000); /* Horizontal GRAM Start Address */
      wr_reg(0x51, (XSIZE_PHYS-1)); /* Horizontal GRAM End Address */
      wr_reg(0x52, 0x0000); /* Vertical GRAM Start Address */
      wr_reg(0x53, (YSIZE_PHYS-1)); /* Vertical GRAM End Address */


      /* Set Gate Scan Line ----------------------------------------------------*/
      wr_reg(0x60, 0x2700);
      wr_reg(0x61, 0x0001); /* NDL,VLE, REV */
      wr_reg(0x6A, 0x0000); /* Set scrolling line */


      /* Partial Display Control -----------------------------------------------*/
      wr_reg(0x80, 0x0000);
      wr_reg(0x81, 0x0000);
      wr_reg(0x82, 0x0000);
      wr_reg(0x83, 0x0000);
      wr_reg(0x84, 0x0000);
      wr_reg(0x85, 0x0000);


      /* Panel Control ---------------------------------------------------------*/
      wr_reg(0x90, 0x0010);
      wr_reg(0x92, 0x0000);
      wr_reg(0x93, 0x0003);
      wr_reg(0x95, 0x0110);
      wr_reg(0x97, 0x0000);
      wr_reg(0x98, 0x0000);
      /* Set GRAM write direction
      I/D=11 (Horizontal : increment, Vertical : increment) */
      /* AM=1 (address is updated in vertical writing direction) */
      wr_reg(0x03, 0x1038);
      wr_reg(0x07, 0x0137); /* 262K color and display ON */
      #endif
      }


      /************************************************** *******************
      *
      * Public code
      *
      ************************************************** ********************
      */
      /************************************************** *******************
      *
      * LCD_X_Config
      *
      * Purpose:
      * Called during the initialization process in order to set up the
      * display driver configuration.
      *
      */
      void LCD_X_Config(void) {
      GUI_DEVICE * pDevice;
      GUI_PORT_API PortAPI;
      CONFIG_FLEXCOLOR Config = {0};


      //
      // Set display driver and color conversion for 1st layer
      //
      #ifndef _WINDOWS
      GUI_MULTIBUF_Config(80);
      pDevice = GUI_DEVICE_CreateAndLink(DISPLAY_DRIVER, COLOR_CONVERSION, 0, 0);
      #else
      pDriver = GUIDRV_WIN32;
      #endif
      //
      // Display driver configuration, required for Lin-driver
      //
      if (DISPLAY_ORIENTATION & GUI_SWAP_XY) {
      LCD_SetSizeEx (0, YSIZE_PHYS, XSIZE_PHYS);
      LCD_SetVSizeEx(0, VYSIZE_PHYS, VXSIZE_PHYS);
      } else {
      LCD_SetSizeEx (0, XSIZE_PHYS, YSIZE_PHYS);
      LCD_SetVSizeEx(0, VXSIZE_PHYS, VYSIZE_PHYS);
      }
      GUI_TOUCH_SetOrientation(GUI_MIRROR_X * LCD_GetMirrorX());
      GUI_TOUCH_Calibrate(GUI_COORD_X,0,240,GUI_TOUCH_AD _TOP, GUI_TOUCH_AD_BOTTOM);
      GUI_TOUCH_Calibrate(GUI_COORD_Y,0,320,GUI_TOUCH_AD _LEFT, GUI_TOUCH_AD_RIGHT);
      //
      // Function pointers for 8 bit interface
      //
      #ifndef _WINDOWS
      PortAPI.pfWrite16_A0 = LCD_X_Write00_16;
      PortAPI.pfWrite16_A1 = LCD_X_Write01_16;
      PortAPI.pfWriteM16_A1 = LCD_X_WriteM01_16;
      PortAPI.pfReadM16_A1 = LCD_X_ReadM01_16;


      GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66708, GUIDRV_FLEXCOLOR_M16C0B16);


      //
      // Orientation
      //


      Config.Orientation = DISPLAY_ORIENTATION;
      Config.NumDummyReads = 2; /* 5 dummy bytes are required when reading GRAM by SPI. 1 byte is read in LCD_X_SPI_WriteM01, so 4 bytes are left */
      GUIDRV_FlexColor_Config(pDevice, &Config);
      #endif
      }


      /************************************************** *******************
      *
      * LCD_X_DisplayDriver
      *
      * Purpose:
      * This function is called by the display driver for several purposes.
      * To support the according task the routine needs to be adapted to
      * the display controller. Please note that the commands marked with
      * 'optional' are not cogently required and should only be adapted if
      * the display controller supports these features.
      *
      * Parameter:
      * LayerIndex - Index of layer to be configured
      * Cmd - Please refer to the details in the switch statement below
      * pData - Pointer to a LCD_X_DATA structure
      */
      int LCD_X_DisplayDriver(unsigned LayerIndex, unsigned Cmd, void * pData) {
      int r;


      GUI_USE_PARA(LayerIndex);
      GUI_USE_PARA(pData);
      switch (Cmd) {
      //
      // Required
      //
      case LCD_X_INITCONTROLLER: {
      //
      // Called during the initialization process in order to set up the
      // display controller and put it into operation. If the display
      // controller is not initialized by any external routine this needs
      // to be adapted by the customer...
      //
      _InitController();

      return 0;
      }
      default:
      r = -1;
      }
      return r;
      }


      /*************************** End of file ****************************/


      [/code]

      سلام
      من هر کاری میکنم lcd 2.8 راه نمیوفته.
      میشه پین هایی که وصل کردید هم بگید.
      توی فایل پایه های کنترلی مشخص هست ولی 16 پایه دیتا معلوم نیست به کجا متصل شده.

      دیدگاه


        پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

        با سلام و عرض خسته نباشید
        من در emwin همه کاری می توانم انجام دهم به غیر از درست نشان دادن عکس :angry:. کسی می تواند راهنمایی ام نماید جه کاری باید انجام دهم که عکس را درست نشان دهد؟ با تشکر

        دیدگاه


          پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

          نوشته اصلی توسط Reza Sede
          سلام
          این که کلی ارور داره!
          :
          کد:
          Build target 'Debug_FLASH'
          compiling Touch.c...
          compiling MT_MultiTasking.c...
          C:\Keil\ARM\RV31\Inc\RTL.h(39): error: #240: duplicate specifier in declaration
          C:\Keil\ARM\RV31\Inc\RTL.h(39): error: #84: invalid combination of type specifiers
          C:\Keil\ARM\RV31\Inc\RTL.h(41): error: #240: duplicate specifier in declaration
          C:\Keil\ARM\RV31\Inc\RTL.h(41): error: #240: duplicate specifier in declaration
          C:\Keil\ARM\RV31\Inc\RTL.h(43): error: #240: duplicate specifier in declaration
          compiling RTX_Conf_CM.c...
          RTX_Conf_CM.c: Error: #5: cannot open source input file "F:\Keil\ARM\RL\RTX\Config\RTX_Conf_CM.c": No such file or directory
          Target not created
          آقا برا منم همین ارور ها پیش اومده و تا حالا نتونستم حلش کنم.روش هایی هم که آقای آروین توضیح دادن رو انجام دادم ولی کارساز نبود.لطفا راهنمایی بفرمایید و در صورت امکان برنامه اصلاح شده رو دوباره پلود کنید.
          دقت کردین تو مهمونیا یه کیوی رو وقتی با پوست میخورین چه جور نگاتون میکنن.!!!!

          هيچگاه چيزي را خوب نمي فهمي، مگر اينكه بتواني آن را براي مادربزرگت شرح دهي!((آلبرت انيشتين))

          دیدگاه


            پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

            آقا برا منم همین ارور ها پیش اومده و تا حالا نتونستم حلش کنم.روش هایی هم که آقای آروین توضیح دادن رو انجام دادم ولی کارساز نبود.لطفا راهنمایی بفرمایید و در صورت امکان برنامه اصلاح شده رو دوباره پلود کنید.
            این مشکل برای این بوجود آمده که keil شما rtl.h داشته ( دقت کنید از مسیر خودش معرفی کرده) ولی در پروژه شما هم یک RTL.h هست. فکر کنم کلا RTL.h را از پروژه پاک کنید درست می شود.
            { خلاف قوانین - پاک شد }

            دیدگاه


              پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

              دوستان توجه کنن که جهت کار با سیستم عامل RL حتما فایل rlarm411 رو نیز مانند خود کیل نصب کنید.یه سرچ کنید پیدا میشه. :agree:
              دقت کردین تو مهمونیا یه کیوی رو وقتی با پوست میخورین چه جور نگاتون میکنن.!!!!

              هيچگاه چيزي را خوب نمي فهمي، مگر اينكه بتواني آن را براي مادربزرگت شرح دهي!((آلبرت انيشتين))

              دیدگاه


                پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                آقای آروین من همه برنامه هاتون رو به درستی کامپایل کردم.همشون عکس نشون دادن ولی تاچ اصلا کار نمیکنه. :eek:
                دیپ 3 هم روشن هست.همه نکاتی رو هم که شما و دوستان فرموده بودینو مو به مو رعایت کردم ولی تاچ کار نکرد.حتی تاچ رو با مثال tft touch همراه برد(emwin رو نمیگما) تست کردم و به خوبی کار کرد یعنی مشکل سخت افزاری نیست.مشکل از کجا میتونه باشه؟
                دقت کردین تو مهمونیا یه کیوی رو وقتی با پوست میخورین چه جور نگاتون میکنن.!!!!

                هيچگاه چيزي را خوب نمي فهمي، مگر اينكه بتواني آن را براي مادربزرگت شرح دهي!((آلبرت انيشتين))

                دیدگاه


                  پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                  سلام دوستان
                  من از نرم افزار gui builder برای ساخت دو صفحه استفاده کردم
                  و به این صورت کارمیکنه که با فشار یک دکمه در صفحه اول به صفحه دوم منتقل میشه و با فشار یه دکمه در صفحهه دوم به صفحه اول منقل میشم

                  حال مشکلی به وجود اومده ک بعد 20 باری سوئچ بین دو صفحه ،صفحه دیگه رفرش نمیشه!

                  حتی هنگام سوئیچ بین دو صفحه از فانشکن های
                  wm-deletwitndow
                  gui_enddialog
                  رو تست کردم اما انکار حافظه استفاده شده صفحه قبل رو فری نمیکنه!

                  دیدگاه


                    پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                    رم پرشده دیگه.
                    دقت کنی هربار پنجره جدیدی بازکنی سرعت اجرا هم کند میشه
                    باید پس از اتمام کار با هر پنجره اون رو kill کنید. در سایت همسایه مطالبش هست

                    دیدگاه


                      پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                      با سلام
                      فایلها ظاهرا خراب هستند اگر امکانش هست مجددا آپلود بفرمایید.

                      ممنون

                      دیدگاه


                        پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                        نوشته اصلی توسط arvin2009 نمایش پست ها
                        پروژه emwin برای برد اموزشی
                        دقیقا کدوم برد منظورتونه؟؟؟؟
                        میشه آدرش بزارین؟
                        ممنون
                        ! Life doesn't get easier , you just get stronger

                        دیدگاه


                          پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                          سلام.
                          فایل های پیوست خراب هستند دوباره باید آپلود بشن.

                          دیدگاه


                            پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                            فایل های پیوست خراب هستن .

                            دیدگاه


                              پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                              سلام
                              ایا آرم (لوگو) شرکت سگر که در lcd نمایش داده می شود (سمت چپ و بالای lcd) قابل حذف هست یا اینکه با خریداری emwin از پروژه ها حذف می شود؟

                              مانند تصویر زیر:

                              دیدگاه


                                پاسخ : emwin روی برد اموزشی.حتما امتحان کنید

                                نوشته اصلی توسط behnam6500 نمایش پست ها
                                سلام
                                ایا آرم (لوگو) شرکت سگر که در lcd نمایش داده می شود (سمت چپ و بالای lcd) قابل حذف هست یا اینکه با خریداری emwin از پروژه ها حذف می شود؟
                                قابل حذف هستش دوست عزیز
                                برای آنکه کاری امکان پذیر گردد دیدگان دیگری لازم است، دیدگانی نو

                                دیدگاه

                                لطفا صبر کنید...
                                X