MikroElektronika mikromedia PIC24 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro ne MikroElektronika mikromedia PIC24. Creating the first project in Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 28
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Creating the rst project in
This tutorial will show
you how to make your
rst steps in Visual TFT
software. Let’s create
a simple „Hello World“
application in less than
two minutes.
Zobrazit stránku 0
1 2 3 4 5 6 ... 27 28

Shrnutí obsahu

Strany 1 - Creating the rst project in

Creating the rst project in This tutorial will show you how to make your rst steps in Visual TFT software. Let’s create a simple „Hello

Strany 2 - TO OUR VALUED CUSTOMERS

Page 10Step 1 - Adding „Hello World“ labelFigure 2-2: Working window with label0102Click on Label and hold itDrag it onto the Screen1 window and drop

Strany 3 - Table of Contents

Page 11Figure 2-4: Components options of Object Inspector WindowFigure 2-5: Font optionsWith Label component on the screen, we can now edit its proper

Strany 4

Page 12Step 2 - Adding Earth imageWe want to add a nice Earth picture onto our screen. Find some suitable image and convert it to bmp, jpg or jpeg for

Strany 5 - 1. Creating a new project

Page 13Assign a bitmap to the imageWe can now edit Image component properties and assign bitmap we want for our project all using Object Inspector.Whe

Strany 6

Page 14When text and image are added your window should look like this, Figure 2-10. At this point you are just few steps away from project nish.Figu

Strany 7 - Step 2 - Initial settings

Page 15Step 3 - Adding „NEXT SCREEN>“ buttonFigure 2-10: Components paletteTo add some transition eects it is necessary to add one acti

Strany 8

Page 16Under components options chose button which will be placed in the working section:After rounded button is added it’s time to create one more sc

Strany 9 - 2. Creating visual contents

Page 17Once the last object is placed on the working section on the main window, creation of the rst screen for your TFT display is nished.Progress

Strany 10 - Object Inspector

Page 18In order to add transition eect which will occur when NEXT SCREEN > button is pressed we will add one more screen.010203Change background c

Strany 11 - HELLO WORLD!

Page 19After visual part of the rounded circle is designed it’s time to write user code which will draw next screen when button is clicked.0102Double

Strany 12 - Step 2 - Adding Earth image

I want to express my thanks to you for being interested in our products and for having condence in MikroElektronika.The primary aim of our company is

Strany 13 - Assign a bitmap to the image

Page 20Figure 4-2: Simple code for transition eectIn order to transfer code from Visual TFT to your device (in this case mikromedia fo

Strany 14 - Progress after image is added

Page 215. Generate codeCreation of visual content for TFT display is nished so its time to generate the code that will be transferred to the MCU memo

Strany 15

Page 226. Start compilerTo transfer generated code to the device it is necessary to start the chosen compiler (in this case mikroC PRO for PIC).Figure

Strany 16 - Renaming rounded button

Page 237. Build and programAttach your device to a PC via programmer (mikroProg for PIC, dsPIC and PIC32). In our example we use mikromedia for PIC18F

Strany 17

Page 248. The resultAfter programming process of the device is completed you can see the result of your work on the TFT display. Everything you need t

Strany 18 - 3. Creating second screen

Page 25This is just the beginning of the visual creation with Visual TFT. If this project was too easy for you, you can make it much more complex with

Strany 20

DISCLAIMERAll the products owned by MikroElektronika are protected by copyright law and interna-tional copyright treaty. Therefore, this manual is to

Strany 21 - 5. Generate code

If you want to learn more about our products, please visit our website at www.mikroe.comIf you are experiencing some problems with any of our products

Strany 22 - 6. Start compiler

Page 3Introduction to your rst project 41. Creating a new project 5Step 1 - Create a blank new project 5Step 2 - Initial settings 72. Creating vi

Strany 23 - 7. Build and program

Page 4Introduction to your rst projectLet’s start a journey into the world of Visual TFT software. Together we’ll go through the series of easy steps

Strany 24 - 8. The result

Page 51. Creating a new projectFigure 1-1: New projectFigure 1-2: Project nameCreating a new project is divided into a few simple steps. Follow them i

Strany 25

Page 604050305Verify if everything is in order, and click OK button to create a blank new project.When New Project Location Window appears, select tar

Strany 26

Page 7Step 2 - Initial settingsChoose target hardwareChoose your compilerFigure 1-3: Options window03Click to open a list of supported compilers04Sele

Strany 27

Page 805Click OK button to conrm selection of target hardware and compiler05Voila! The rst step is completed. We have successfully created a blank n

Strany 28 - Creating rst project in

Page 9Figure 2-1: Window with a new project2. Creating visual contentsWhen the main options are set, the main window of the TFT display working enviro

Komentáře k této Příručce

Žádné komentáře