CRINSA-team2025
V1
Documentation du Club Robot INSA Rennes 2025
Chargement...
Recherche...
Aucune correspondance
ShiftRegister.h
1
#ifndef __SHIFTREGISTER_H__
2
#define __SHIFTREGISTER_H__
3
4
#include <Arduino.h>
5
6
class
ShiftRegister
7
{
8
public
:
9
void
attach(uint8_t latchpin, uint8_t clockpin, uint8_t datapin);
10
void
SetHigh(
int
pos);
11
void
SetLow (
int
pos);
12
void
write(
int
pos,
int
state);
13
14
protected
:
15
void
shift();
16
17
uint8_t m_LATCH;
18
uint8_t m_CLOCK;
19
uint8_t m_DATA;
20
21
volatile
uint8_t m_register;
22
};
23
24
//extern ShiftRegister shift;
25
#endif
// __SHIFTREGISTER_H__
ShiftRegister
Definition
ShiftRegister.h:7
lib
ShiftRegister
ShiftRegister.h
Généré par
1.13.2