Update Extras.md

This commit is contained in:
HomeSpan 2020-12-29 15:11:51 -06:00 committed by GitHub
parent 18eb358dc6
commit 5566dd08b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ Since most RF/IR signals repeat the same train of pulses more than once, the dur
* *phase* - set to 0 to create a LOW phase; set to 1 (or any non-zero number) to create a HIGH phase * *phase* - set to 0 to create a LOW phase; set to 1 (or any non-zero number) to create a HIGH phase
* repeated phases of the same type (e.g. HIGH followed by another HIGH) is permitted and result in a single HIGH phase with a duration equal to the sum of the *numTicks* specified for each repeated phase (this is helpful when generating Manchester-encoded signals)
* `static void add(uint16_t onTime, uint16_t offTime)` * `static void add(uint16_t onTime, uint16_t offTime)`
* a convenience function that create a single HIGH/LOW pulse. Implemented as `phase(onTime,HIGH); phase(offTime,LOW);` as defined above, and subject to all the same limits and error-checks * a convenience function that create a single HIGH/LOW pulse. Implemented as `phase(onTime,HIGH); phase(offTime,LOW);` as defined above, and subject to all the same limits and error-checks