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:windows:eclipse_v5 [2012/05/28 10:02] raivo.sellen:examples:setup:windows:eclipse_v5 [2020/07/20 09:00] (current) – created - external edit 127.0.0.1
Line 136: Line 136:
 If compilation of this code is also successful, the development environment was set up correctly. If compilation of this code is also successful, the development environment was set up correctly.
  
-~~PB~~+<pagebreak>
  
 ===== Loading the code into microcontroller ===== ===== Loading the code into microcontroller =====
Line 157: Line 157:
 {{:kit:kit_2561_test.jpg?400|}} {{:kit:kit_2561_test.jpg?400|}}
  
-===== Ujukoma-arvude kasutamine =====+===== Using floating-point variables =====
  
-Mõnikord tekib vajadus AVR programmis kasutada ujukoma-arveNendega arvutamiseks ja nende esitamiseks printf-tüüpi funktsioonidega tuleb projekti seadistustes teha järgmised muudatused:+It is sometimes necessary in AVR programs to use floating-point variablesFor calculating with them and presenting with //printf//-type functions, the following changes are necessary in the configuration of the project:
  
-1. Avada projekti seaded menüüst File → Properties. Vasakul paneelil avada C/C++ Build → SettingsParemal avanenud valikust valida AVR C Linker → Libraries, kuhu tuleb lisaks kodulabori teegile lisada teegi objektid //printf_flt// ja //m// (libprintf_flt.a ja libm.a).+**1.** Open the configuration of the project from the menu //File → Properties//On the leftside panel open //AVR C Linker → Libraries//where in addition to HomeLab library other library objects must be included //printf_flt// and //m// (libprintf_flt.a ja libm.a).
  
-2. Seejärel tuleb avada AVR C Linker → General ja //Other Arguments// kasti lisada read rida //-uvfprintf//.+**2.** Then open //AVR C Linker → General// and into box of //Other Arguments// add line //-uvfprintf//.
  
 {{:examples:eclipse:eclipse_floating_point_libraries.png?520|}} {{:examples:eclipse:eclipse_floating_point_libraries.png?520|}}
Line 169: Line 169:
 {{:examples:eclipse:eclipse_floating_point_printf.png?520|}} {{:examples:eclipse:eclipse_floating_point_printf.png?520|}}
  
-3. Vajutada OK ja sulgeda seadete aken.+**3.** Press OK and close configuration window.
en/examples/setup/windows/eclipse_v5.1338199335.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