![]() |
McMajan Library Pack
v 2.00
Improve your Arduino !
|
#include <Ss_FastArduino.h>
Go to the source code of this file.
Functions | |
void | f1_FastDigitalPulse (uint8_t pin, uint8_t val) |
void | LPulse (uint8_t pin) |
Set digital pin to low, then to high. More... | |
void | HPulse (uint8_t pin) |
Set digital pin to high, then to low. More... | |
bool | GetBitN (uint8_t *buff, unsigned int Fbit) |
This function return n bit from a buffer. More... | |
void | SetBitN (uint8_t *buff, unsigned int Fbit, bool val) |
Questa funzione setta l'n-esimo bit del buffer buff (0-n) (il singolo byte è riempito da destra a sinistra) con il valore val (0 o 1) More... | |
int | Mc_FreeRam () |
Calculate free RAM This function Works only on AVR microcontrollers. More... | |
void | Mc_SetNoisyArray (float *arr, int campioni, float media, float spread) |
This fill a buffer using random values. More... | |
void f1_FastDigitalPulse | ( | uint8_t | pin, |
uint8_t | val | ||
) |
Definition at line 54 of file Ss_FastArduino.cpp.
bool GetBitN | ( | uint8_t * | buff, |
unsigned int | Fbit | ||
) |
This function return n bit from a buffer.
buff | is the buffer |
Fbit | is the bit you want to extract (for example bit 54 from a char buffer) |
Definition at line 88 of file Ss_FastArduino.cpp.
void HPulse | ( | uint8_t | pin | ) |
Set digital pin to high, then to low.
pin | is the digital pin to send the pulse. |
Definition at line 76 of file Ss_FastArduino.cpp.
void LPulse | ( | uint8_t | pin | ) |
Set digital pin to low, then to high.
pin | is the digital pin to send the pulse. |
Definition at line 66 of file Ss_FastArduino.cpp.
int Mc_FreeRam | ( | ) |
Calculate free RAM This function Works only on AVR microcontrollers.
Definition at line 121 of file Ss_FastArduino.cpp.
void Mc_SetNoisyArray | ( | float * | arr, |
int | campioni, | ||
float | media, | ||
float | spread | ||
) |
This fill a buffer using random values.
arr | is a float array pointer |
campioni | is the number of element you want to fill |
media | is the mean value of random values |
spered | is the maximum spread value from mean value |
Definition at line 158 of file Ss_FastArduino.cpp.
void SetBitN | ( | uint8_t * | buff, |
unsigned int | Fbit, | ||
bool | val | ||
) |
Questa funzione setta l'n-esimo bit del buffer buff (0-n) (il singolo byte è riempito da destra a sinistra) con il valore val (0 o 1)
This function sets n bit in a buffer
buff | is the buffer |
Fbit | is the bit you want to set (for example set bit 54 to tue) |
val | true or false |
Definition at line 106 of file Ss_FastArduino.cpp.