arduino-audio-tools
Classes | Namespaces | Macros | Enumerations | Functions | Variables
NoArduino.h File Reference

If you want to use the framework w/o Arduino you need to provide the implementation of a couple of classes and methods! More...

#include <stdint.h>
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <chrono>
#include "driver/gpio.h"

Go to the source code of this file.

Classes

class  Client
 
class  HardwareSerial
 
class  Print
 
class  Stream
 

Namespaces

 audio_tools
 Generic Implementation of sound input and output for desktop environments using portaudio.
 

Macros

#define HIGH   0x1
 
#define INPUT   0x0
 
#define INPUT_PULLUP   0x2
 
#define IS_NOARDUINO
 
#define LOW   0x0
 
#define OUTPUT   0x1
 
#define PI   3.14159265359f
 
#define PSTR(fmt)   fmt
 

Enumerations

enum  PrintCharFmt { DEC , HEX }
 

Functions

void delay (uint32_t ms)
 Waits for the indicated milliseconds.
 
void delayMicroseconds (uint32_t ms)
 Waits for the indicated milliseconds.
 
int digitalRead (int pin)
 e.g. for AudioActions
 
long map (long x, long in_min, long in_max, long out_min, long out_max)
 Maps input to output values.
 
uint32_t micros ()
 Returns the milliseconds since the start.
 
uint32_t millis ()
 Returns the milliseconds since the start.
 
void pinMode (int pin, int mode)
 

Variables

static HardwareSerial Serial
 

Detailed Description

If you want to use the framework w/o Arduino you need to provide the implementation of a couple of classes and methods!

Author
Phil Schatzmann
Version
0.1
Date
2022-09-19