add a comma to Scanner_IOE constructor
This commit is contained in:
parent
31e0fa5ae0
commit
8855db3444
@ -6,6 +6,11 @@ This project adheres to [Semantic Versioning 2.0.0](http://semver.org/).
|
|||||||
keybrd version 0.x.x is for initial development.
|
keybrd version 0.x.x is for initial development.
|
||||||
keybrd version 1.0.0 will be released when the public API is stable.
|
keybrd version 1.0.0 will be released when the public API is stable.
|
||||||
|
|
||||||
|
0.6.3 (2016-10-06)
|
||||||
|
------------------
|
||||||
|
* Enhancements
|
||||||
|
* add comma to Scanner_IOE constructor
|
||||||
|
|
||||||
0.6.1 (2016-10-02)
|
0.6.1 (2016-10-02)
|
||||||
------------------
|
------------------
|
||||||
* Enhancements
|
* Enhancements
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=keybrd
|
name=keybrd
|
||||||
version=0.6.1
|
version=0.6.3
|
||||||
author=Wolfram Volpi
|
author=Wolfram Volpi
|
||||||
maintainer=Wolfram Volpi
|
maintainer=Wolfram Volpi
|
||||||
sentence=A library for creating custom-keyboard firmware.
|
sentence=A library for creating custom-keyboard firmware.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef SCANNER_PORT_H
|
#ifndef SCANNER_IOE_H
|
||||||
#define SCANNER_PORT_H
|
#define SCANNER_IOE_H
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
@ -16,12 +16,12 @@ keybrd_library_developer_guide.md has instructions for ## Active state and diode
|
|||||||
class Scanner_IOE : public ScannerInterface
|
class Scanner_IOE : public ScannerInterface
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
const bool activeState; //logic level of strobe on, HIGH or LOW
|
const bool activeState; //logic level of strobe on, HIGH or LOW
|
||||||
PortInterface& refPortWrite; //the IC port containing the strobePin
|
PortInterface& refPortWrite; //the IC port containing the strobePin
|
||||||
PortInterface& refPortRead; //the IC's read port
|
PortInterface& refPortRead; //the IC's read port
|
||||||
public:
|
public:
|
||||||
Scanner_IOE(const bool activeState, PortInterface &refPortWrite, PortInterface& refPortRead)
|
Scanner_IOE(const bool activeState, PortInterface &refPortWrite, PortInterface& refPortRead)
|
||||||
: activeState(activeState) refPortWrite(refPortWrite), refPortRead(refPortRead) {}
|
: activeState(activeState), refPortWrite(refPortWrite), refPortRead(refPortRead) {}
|
||||||
void init(const uint8_t strobePin);
|
void init(const uint8_t strobePin);
|
||||||
void begin();
|
void begin();
|
||||||
read_pins_t scan(const uint8_t strobePin);
|
read_pins_t scan(const uint8_t strobePin);
|
||||||
|
Reference in New Issue
Block a user