Browse Source

add a comma to Scanner_IOE constructor

tags/v0.6.3
wolfv6 7 years ago
parent
commit
8855db3444
3 changed files with 10 additions and 5 deletions
  1. 5
    0
      doc/CHANGELOG.md
  2. 1
    1
      library.properties
  3. 4
    4
      src/Scanner_IOE.h

+ 5
- 0
doc/CHANGELOG.md View File

@@ -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 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)
------------------
* Enhancements

+ 1
- 1
library.properties View File

@@ -1,5 +1,5 @@
name=keybrd
version=0.6.1
version=0.6.3
author=Wolfram Volpi
maintainer=Wolfram Volpi
sentence=A library for creating custom-keyboard firmware.

+ 4
- 4
src/Scanner_IOE.h View File

@@ -1,5 +1,5 @@
#ifndef SCANNER_PORT_H
#define SCANNER_PORT_H
#ifndef SCANNER_IOE_H
#define SCANNER_IOE_H

#include <Arduino.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
{
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& refPortRead; //the IC's read port
public:
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 begin();
read_pins_t scan(const uint8_t strobePin);