Merge pull request #4419 from AnHardt/sd2pinmap
Switch Sd2CardLib to fastio
This commit is contained in:
commit
9083e5420a
18 changed files with 42 additions and 544 deletions
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
/**
|
||||
* @brief Tone structure
|
||||
* @details Simple abstration of a tone based on a duration and a frequency.
|
||||
* @details Simple abstraction of a tone based on a duration and a frequency.
|
||||
*
|
||||
*/
|
||||
struct tone_t {
|
||||
|
|
@ -57,7 +57,7 @@ class Buzzer {
|
|||
* @details This will invert the current state of an digital IO pin.
|
||||
*/
|
||||
void invert() {
|
||||
WRITE(BEEPER_PIN, !READ(BEEPER_PIN));
|
||||
TOGGLE(BEEPER_PIN);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue