Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:examples:setup:codeblocks [2015/03/23 15:46] heikopikneren:examples:setup:codeblocks [2023/09/20 13:52] (current) raivo.sell
Line 1: Line 1:
-~~PB~~+<pagebreak>
 ====== IDE CodeBlocks ====== ====== IDE CodeBlocks ======
  
-The following guide describes the use of the CodeBlocks environment for programming HomeLab Controller Module. This is based on CodeBlocks enviroment, specially adapted for Homelab with a set of packaged software and accessories. Modified CodeBlocks enviroment are downloadable websitehttp://home.roboticlab.eu/et/files+The following guide describes the use of the CodeBlocks environment for programming HomeLab Controller Module. This is based on CodeBlocks enviroment, specially adapted for Homelab with a set of packaged software and accessories. Modified CodeBlocks enviroment are downloadable [[en:files:files|website]]
  
 ===== Creating a new project ===== ===== Creating a new project =====
-Projekti loomine käib menüüst //File->New->Project//Sealt tuleks valida vastavalt Robootika Kodulabori generatsioonile projekti põhi ning konfigureerida see vastavalt soovileKui kasutatakse Robootika Kodulabori projektisiis on kõik väärtused juba eeltäidetud ja midagi ümber pole vaja muutaJärgnevad dialoogiaknad on Robootika Kodulabor III generatsiooni näite baasil +To create the new project, select in menu //File->New->Project//There should be selected a project template according to HomeLab generation and configure it as desiredWhen HomeLab project template is usedthen the values are already filled, and there is no need to change anything aroundThe following example dialog boxes are based on the Robotics HomeLab III. After choosing a right version of HomeLab generation then enter the project name and set the location to save the file (it is preferable to avoid the use of umlauts). Then you can set the project compiling folder and in the next window, enter microcontroller parameters.
-Peale Kodulabori versiooni valmist saab sisestada projektile nime ning määrata failide salvestamise asukoha (soovitav on vältida täpitähtede kasutamist). Seejärel saab määrata projekti kompileerimiskausta ning järgmises aknas mikrokontrolleri parameetrid.+
  
 {{:et:examples:setup:codeblocks:codeblocks_projektivalik.png?230|}} {{:et:examples:setup:codeblocks:codeblocks_projektivalik.png?230|}}
Line 12: Line 11:
 {{:et:examples:setup:codeblocks:11_project2.png?230|}} {{:et:examples:setup:codeblocks:11_project2.png?230|}}
 {{:et:examples:setup:codeblocks:12_cb_project3.png?230|}} {{:et:examples:setup:codeblocks:12_cb_project3.png?230|}}
-~~PB~~+<pagebreak>
 ===== Using CodeBlocks ===== ===== Using CodeBlocks =====
-Kui projekt on loodudilmub vasakule projektipuusse uus projekt koos //main.c//  failigakus on juba olemas lihtne näitekoodKompileerimine käib CodeBlocksis tööriistaribal oleva hammasratta ikooniga või klahviga //F7//Kui kompileerimine õnnestub kuvatakse all //Build Log// aknas kasutatud programmimälu maht ning ebaõnnestumise korral veateated.+Once the project is createdthen the new project appears in the left tree with the //main.c// filewhich includes existing simple example codeTo compile press the gear icon in the toolbar or by pressing F7. If the compilation succeeds then in the bottom //Build Log// window the user program memory count are displayed or if not, then error messages in the event of failure.
  
 {{ :et:examples:setup:codeblocks:codeblocks.png?325 |}} {{ :et:examples:setup:codeblocks:codeblocks.png?325 |}}
- +When loading the program into the microcontrollerin case HomeLab III, first should be entered into the bootloader by holding down the button S0 on the Controller module and at the same time pressing the reset button to restartWhen the blue LED lights upthen the Controller is ready for downloading a new programIn previous HomeLabs a bootloader mode is not availableCompiled program can be downloaded to the controller from the //Tools// menu by choosing the right HomeLab programmerIn the case of HomeLab III choose //HomeLab III// or //CTRL+F7//
-Programmi peale laadimisekstuleb Kodulabor III kontrolleril käivitada buudilaadur hoides all S0 nuppu ja tehes samaaegselt Kontrollermoodulile taaskäivitus //reset//Kui süttib sinine LED, siis on Kontrollermoodul valmis uue programmi pealelaadimiseksVarasemate Kodulaboritega eraldi buudilaaduri režiimi minna pole vajaKompileeritud programmi saab kontrollerisse laadida menüüst //Tools// valides õige Kodulabori programmaatoriKodulabor III korral on selleks //HomeLab III// või kiirklahvid //CTRL+F7//+
  
 {{ :et:examples:setup:codeblocks:codeblocks_tools.png?325 |}} {{ :et:examples:setup:codeblocks:codeblocks_tools.png?325 |}}
en/examples/setup/codeblocks.1427125590.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0