Skip to content

Commit 08c5216

Browse files
author
ShawnHymel
committed
Fixed no type error. STILL NOT COMPILING. I know I'm missing something dumb.
1 parent 77746d9 commit 08c5216

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Libraries/SparkFun_LED_8x7/LED_Font_1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
#ifndef LED_Font_1_H
14-
#define LED_Fonr_1_H
14+
#define LED_Font_1_H
1515

1616
/* Format: { size in bytes of char, byte 1, byte 2, ... } */
1717
char char_A[] PROGMEM = { 4, 0x7E, 0x11, 0x11, 0x7E };

Libraries/SparkFun_LED_8x7/SparkFun_LED_8x7.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SparkFun_LED_8x7::~SparkFun_LED_8x7()
2323

2424
}
2525

26-
bool SparkFun_LED_8x7::init(byte pins[static CHAPLEX_PINS])
26+
bool SparkFun_LED_8x7::init(byte pins[CHAPLEX_PINS])
2727
{
2828
return true;
29-
|
29+
}

Libraries/SparkFun_LED_8x7/SparkFun_LED_8x7.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* This library controls the 8x7 Charlieplex LED array.
1010
*/
1111

12-
#ifndef SparkFun_LED_8X7_H
13-
#define SparkFun_LED_8X7_H
12+
#ifndef SparkFun_LED_8x7_H
13+
#define SparkFun_LED_8x7_H
1414

1515
#include <Arduino.h>
1616

@@ -25,21 +25,21 @@
2525
#define TIMER2_TCNT 248 // Refresh: (256-248)*(1024)/(4 MHz) = 2.05 ms
2626
#define CHAR_OFFSET 0x41 // Starting place for ASCII characters
2727
#define CHAR_SPACE 2 // Number of blank columns between characters
28-
#define END_SPACE 6 // Number of blank columns after textattr
28+
#define END_SPACE 6 // Number of blank columns after text
2929

3030
/* LED Array class */
31-
class SparkFun_LED_8X7 {
31+
class SparkFun_LED_8x7 {
3232
public:
3333

3434
/**
3535
* @brief Constructor - Instantiates LED array object
3636
*/
37-
SparkFun_LED_8X7();
37+
SparkFun_LED_8x7();
3838

3939
/**
4040
* @brief Destructor
4141
*/
42-
~SparkFun_LED_8X7();
42+
~SparkFun_LED_8x7();
4343

4444
/**
4545
* @brief Configures the pins on the Charlieplex array.
@@ -50,10 +50,10 @@ class SparkFun_LED_8X7 {
5050
* @param[in] pins Array of pin numbers. Must be 8 bytes long.
5151
* @return True if array configured. False on error.
5252
*/
53-
bool init(/*byte pins[8]*/);
53+
bool init(byte pins[CHAPLEX_PINS]);
5454

5555
private:
5656

5757
};
5858

59-
#endif // SparkFun_LED_8X7_H
59+
#endif // SparkFun_LED_8x7_H

0 commit comments

Comments
 (0)