Skip to content

Commit 7139bb6

Browse files
authored
update library.json, license, minor edits (#8)
1 parent a19eee0 commit 7139bb6

File tree

12 files changed

+41
-25
lines changed

12 files changed

+41
-25
lines changed

FastShiftIn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// FILE: FastShiftIn.cpp
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.2.2
4+
// VERSION: 0.2.3
55
// PURPOSE: Fast ShiftIn for 74HC165 register, AVR optimized
66
// DATE: 2013-09-29
77
// URL: https://github.com/RobTillaart/FastShiftIn

FastShiftIn.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
//
33
// FILE: FastShiftIn.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.2.2
5+
// VERSION: 0.2.3
66
// PURPOSE: Fast ShiftIn for 74HC165 register, AVR optimized
77
// DATE: 2013-09-29
88
// URL: https://github.com/RobTillaart/FastShiftIn
9-
//
109

1110

1211
#include "Arduino.h"
1312

1413

15-
#define FASTSHIFTIN_LIB_VERSION (F("0.2.2"))
14+
#define FASTSHIFTIN_LIB_VERSION (F("0.2.3"))
1615

1716

1817
class FastShiftIn

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2013-2021 Rob Tillaart
3+
Copyright (c) 2013-2022 Rob Tillaart
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# FastShiftIn
1010

11-
Arduino library for (AVR) optimized shiftIn - e.g. for 74HC165
11+
Arduino library for **AVR** optimized shiftIn - e.g. for 74HC165.
1212

1313
A library for FastShiftOut also exist - https://github.com/RobTillaart/FastShiftOut
1414

@@ -61,3 +61,5 @@ See examples
6161
- esp32 optimization readLSBFIRST readMSBFIRST
6262
- read8() read16(), read24(), read32()
6363
- **read(uint8_t \* arr, uint8_t nr)** ??
64+
- example schema
65+

examples/fastShiftIn/fastShiftIn.ino

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
//
22
// FILE: fastShiftIn.ino
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.1.2
54
// PURPOSE: test sketch
65
// URL: https://github.com/RobTillaart/FastShiftIn
7-
//
6+
87

98
#include "FastShiftIn.h"
109

1110
FastShiftIn FSI(12, 13, LSBFIRST);
1211

1312
volatile int x = 0;
1413

14+
1515
void setup()
1616
{
1717
Serial.begin(115200);
@@ -70,6 +70,11 @@ void setup()
7070
Serial.println("done...");
7171
}
7272

73+
7374
void loop()
7475
{
75-
}
76+
}
77+
78+
79+
// -- END OF FILE --
80+

examples/fastShiftIn_readLSBFIRST/fastShiftIn_readLSBFIRST.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
//
22
// FILE: fastShiftIn_readLSBFIRST.ino
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.1.1
54
// PURPOSE: test sketch
65
// URL: https://github.com/RobTillaart/FastShiftIn
7-
//
6+
87

98
#include "FastShiftIn.h"
109

1110
FastShiftIn FSI(12, 13);
1211

1312
volatile int x = 0;
1413

14+
1515
void setup()
1616
{
1717
Serial.begin(115200);
@@ -70,8 +70,10 @@ void setup()
7070
Serial.println("done...");
7171
}
7272

73+
7374
void loop()
7475
{
7576
}
7677

78+
7779
// -- END OF FILE --

examples/fastShiftIn_readMSBFIRST/fastShiftIn_readMSBFIRST.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
//
22
// FILE: fastShiftIn_readMSBFIRST.ino
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.1.0
54
// PURPOSE: test sketch
65
// URL: https://github.com/RobTillaart/FastShiftIn
7-
//
6+
87

98
#include "FastShiftIn.h"
109

1110
FastShiftIn FSI(12, 13);
1211

1312
volatile int x = 0;
1413

14+
1515
void setup()
1616
{
1717
Serial.begin(115200);
@@ -70,8 +70,11 @@ void setup()
7070
Serial.println("done...");
7171
}
7272

73+
7374
void loop()
7475
{
7576
}
7677

78+
7779
// -- END OF FILE --
80+

examples/fastShiftIn_test/fastShiftIn_test.ino

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
//
22
// FILE: fastShiftIn_test.ino
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.1.1
54
// PURPOSE: test sketch
65
// URL: https://github.com/RobTillaart/FastShiftIn
7-
//
6+
87

98
#include "FastShiftIn.h"
109

@@ -14,6 +13,7 @@ volatile int x = 0;
1413

1514
uint32_t start, duration1, duration2;
1615

16+
1717
void setup()
1818
{
1919
Serial.begin(115200);
@@ -38,6 +38,7 @@ void setup()
3838
Serial.println("done...");
3939
}
4040

41+
4142
void test_read()
4243
{
4344
start = micros();
@@ -64,6 +65,7 @@ void test_read()
6465
delay(100);
6566
}
6667

68+
6769
void test_readLSBFIRST()
6870
{
6971
start = micros();
@@ -90,6 +92,7 @@ void test_readLSBFIRST()
9092
delay(100);
9193
}
9294

95+
9396
void test_readMSBFIRST()
9497
{
9598
start = micros();
@@ -116,6 +119,7 @@ void test_readMSBFIRST()
116119
delay(100);
117120
}
118121

122+
119123
void test_reference()
120124
{
121125
start = micros();
@@ -142,6 +146,11 @@ void test_reference()
142146
delay(100);
143147
}
144148

149+
145150
void loop()
146151
{
147-
}
152+
}
153+
154+
155+
// -- END OF FILE --
156+

keywords.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Syntax Coloring Map For FastShiftIn
1+
# Syntax Colouring Map For FastShiftIn
22

3-
# Datatypes (KEYWORD1)
3+
# Data types (KEYWORD1)
44
FastShiftIn KEYWORD1
55

66

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"url": "https://github.com/RobTillaart/FastShiftIn.git"
1717
},
18-
"version": "0.2.2",
18+
"version": "0.2.3",
1919
"license": "MIT",
2020
"frameworks": "arduino",
2121
"platforms": "*",

0 commit comments

Comments
 (0)