AYAB Arduino Firmware 0.95
The goal of the AYAB project is to provide an alternative way to control the famous Brother KH-9xx range of knitting machines using a computer
beeper.h File Reference
#include <Arduino.h>
Include dependency graph for beeper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BeeperInterface
 
class  GlobalBeeper
 
class  Beeper
 Class to actuate a beeper connected to PIEZO_PIN. More...
 

Enumerations

enum class  BeepState : unsigned char { Idle , Wait , On , Off }
 

Variables

constexpr unsigned int BEEP_DELAY = 50U
 
constexpr uint8_t BEEP_NUM_READY = 5U
 
constexpr uint8_t BEEP_NUM_FINISHEDLINE = 3U
 
constexpr uint8_t BEEP_NUM_ENDWORK = 10U
 
constexpr uint8_t BEEP_NUM_ERROR = 15U
 
constexpr uint8_t BEEP_ON_DUTY = 0U
 
constexpr uint8_t BEEP_OFF_DUTY = 20U
 
constexpr uint8_t BEEP_NO_DUTY = 255U
 

Detailed Description

This file is part of AYAB.

AYAB is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AYAB is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with AYAB. If not, see http://www.gnu.org/licenses/.

Original Work Copyright 2013 Christian Obersteiner, Andreas Müller Modified Work Copyright 2020 Sturla Lange, Tom Price http://ayab-knitting.com