Commit 75f687422eea5b7f409c732b6a3a29a5b2a58e2b

Authored by Antonio Carlos Domínguez Brito
1 parent 9e04ec20
Exists in master

README.md modified

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
README.md
... ... @@ -16,9 +16,9 @@ In tc_lib current version you can use two kind of objects, capture and action ob
16 16  
17 17 ### 2. Capture objects
18 18  
19   -Capture objects allow to measures period and pulses (the duty) of digital signals, like PWM signals. This is carried out in parallel using the resources on TC's channels.
  19 +Capture objects allow measuring period and pulses (the duty) of digital signals, like PWM signals. This is carried out in parallel using the resources on TC's channels.
20 20  
21   -Concretely, it is possible to use up to nine capture objects each one corresponding to the nine channels available, namely, TC0, TC1, TC2 (on TC module 0), TC3, TC4, TC5 (on TC module 1), and TC6, TC7 and TC8 (on TC module 2). For using any of them you have to previously declare them in advance using a specific declaration syntax provided by the libraryusing macros *capture_tc0_declaration*, *capture_tc1_declaration*, etc. A snippet of code extracted from the example *capture_test.ino* declaring a capture object corresponding to TC0 is shown next:
  21 +Concretely, it is possible to use up to nine capture objects each one corresponding to the nine channels available, namely, TC0, TC1, TC2 (on TC module 0), TC3, TC4, TC5 (on TC module 1), and TC6, TC7 and TC8 (on TC module 2). For using any of them you have to previously declare them in advance using a specific declaration syntax provided by the library through macros *capture_tc0_declaration*, *capture_tc1_declaration*, etc. A snippet of code extracted from the example *capture_test.ino* declaring a capture object corresponding to TC0 is shown next:
22 22  
23 23 ```
24 24 // capture_tc0 declaration
... ... @@ -26,7 +26,7 @@ Concretely, it is possible to use up to nine capture objects each one correspond
26 26 // PB25, which is pin 2 for Arduino DUE, so the capture pin in this example
27 27 // is pin 2. For the correspondence between all TIOA inputs for the different
28 28 // TC modules, you should consult uC Atmel ATSAM3X8E datasheet in section "36.
29   -// Timer Counter (TC)"), and the Arduino pin mapping for the DUE.
  29 +// Timer Counter (TC)", and the Arduino pin mapping for the DUE.
30 30  
31 31 capture_tc0_declaration();
32 32 ```
... ... @@ -110,7 +110,7 @@ For compiling on command line using CMake, just proceed in the following manner:
110 110  
111 111 ### 8. Library users
112 112  
113   -In this section we would like to enumerate users using the library in their own projects and developments. So please, if your are using the library, drop us an email indicating in what project or development you are using it.
  113 +In this section we would like to enumerate users using the library in their own projects and developments. So please, if you are using the library, drop us an email indicating in what project or development you are using it.
114 114  
115 115 The list of users/projects goes now:
116 116  
... ...