Skip to main content
added 560 characters in body - error console
Source Link

Error message

It is designed to work with a Raspberry Pi, and I installed the two Adafruit libraries. I also have not hooked it up to either the Pi, or the two Adafruit devices, but that is partly because I cannot get it to run without the error message. Sorry I put a picture instead of typing the error message, but I thought it would be easier to see the highlighting and the different places it put the error messages.

Update: Here is what the text saidwas highlighted: Adafruit_LEDBackpack matrixA = Adafruit_LEDBackpack(); The orange bar says: Variable or field ‘matrixOff‘ declared void I cannot tell what of the following was from before, but here is the entire console log:

Error message

It is designed to work with a Raspberry Pi, and I installed the two Adafruit libraries. I also have not hooked it up to either the Pi, or the two Adafruit devices, but that is partly because I cannot get it to run without the error message. Sorry I put a picture instead of typing the error message, but I thought it would be easier to see the highlighting and the different places it put the error messages.

Update: Here is what the text said: Adafruit_LEDBackpack matrixA = Adafruit_LEDBackpack(); The orange bar says: Variable or field ‘matrixOff‘ declared void I cannot tell what of the following was from before, but here is the entire console log:

It is designed to work with a Raspberry Pi, and I installed the two Adafruit libraries. I also have not hooked it up to either the Pi, or the two Adafruit devices, but that is partly because I cannot get it to run without the error message.

Update: Here is what was highlighted: Adafruit_LEDBackpack matrixA = Adafruit_LEDBackpack(); The orange bar says: Variable or field ‘matrixOff‘ declared void I cannot tell what of the following was from before, but here is the entire console log:

added 560 characters in body - error console
Source Link

Update: Here is what the text said: Adafruit_LEDBackpack matrixA = Adafruit_LEDBackpack(); The orange bar says: Variable or field ‘matrixOff‘ declared void I cannot tell what of the following was from before, but here is the entire console log: mcDesk.ino:2:53: error: Adafruit_LEDBackpack.h: No such file or directory mcDesk.ino:3:45: error: Adafruit_GFX.h: No such file or directory mcDesk:11: error: Variable or field ‘matrixOff‘ declared void mcDesk:11:'Adafruit_LEDBackpack' was not declared in this scope mcDesk

    mcDesk.ino:2:53: error: Adafruit_LEDBackpack.h: No such file or directory
    mcDesk.ino:3:45: error: Adafruit_GFX.h: No such file or directory
    mcDesk:11: error: variable or field 'matrixOff' declared void
    mcDesk:11: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:11: error: expected primary-expression before 'buffer'
    mcDesk:12: error: variable or field 'ledOn' declared void
    mcDesk:12: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:12: error: expected primary-expression before 'buffer'
    mcDesk:12: error: expected primary-expression before 'cat'
    mcDesk:12: error: expected primary-expression before 'an'
    mcDesk:13: error: variable or field 'ledOff' declared void
    mcDesk:13: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:13: error: expected primary-expression before 'buffer'
    mcDesk:13: error: expected primary-expression before 'cat'
    mcDesk:13: error: expected primary-expression before 'an'
    mcDesk:14: error: variable or field 'dispMat' declared void
    mcDesk:14: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:14: error: expected primary-expression before 'buffer'
    mcDesk:17: error: variable or field 'threeDigitDisp' declared void
    mcDesk:17: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:17: error: expected primary-expression before 'buffer'
    mcDesk:17: error: expected primary-expression before 'cats'
    mcDesk:17: error: expected primary-expression before 'ans'
    mcDesk:17: error: expected primary-expression before 'number'
    mcDesk:18: error: variable or field 'digitDisp' declared void
    mcDesk:18: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:18: error: expected primary-expression before 'buffer'
    mcDesk:18: error: expected primary-expression before 'pos'
    mcDesk:18: error: expected primary-expression before 'cat'
    mcDesk:18: error: expected primary-expression before 'an'
    mcDesk:18: error: expected primary-expression before 'num'
    mcDesk:23: error: variable or field 'switchBars' declared void
    mcDesk:23: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:23: error: expected primary-expression before 'buffer'
    mcDesk:23: error: expected primary-expression before 'grphCats'
    mcDesk:23: error: expected primary-expression before 'grphAns'
    mcDesk:23: error: expected primary-expression before 'cmnd'
    mcDesk:23: error: expected primary-expression before 'offset'
    mcDesk:24: error: variable or field 'barDisp' declared void
    mcDesk:24: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:24: error: expected primary-expression before 'buffer'
    mcDesk:24: error: expected primary-expression before 'grphCats'
    mcDesk:24: error: expected primary-expression before 'grphAns'
    mcDesk:24: error: expected primary-expression before 'pos'
    mcDesk:24: error: expected primary-expression before 'offset'
    mcDesk:25: error: variable or field 'cBarDisp' declared void
    mcDesk:25: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:25: error: expected primary-expression before 'buffer'
    mcDesk:25: error: expected primary-expression before 'grphCats'
    mcDesk:25: error: expected primary-expression before 'grphAns'
    mcDesk:25: error: expected primary-expression before 'pos'
    mcDesk:25: error: expected primary-expression before 'offset'
    mcDesk:11: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk:12: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk:13: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk:14: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk:15: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk.ino: In function 'void decodeCommand()':
    mcDesk:193: error: 'matrixE' was not declared in this scope
    mcDesk:193: error: 'ledOn' was not declared in this scope
    mcDesk:199: error: 'matrixE' was not declared in this scope
    mcDesk:199: error: 'ledOff' was not declared in this scope
    mcDesk:204: error: 'matrixC' was not declared in this scope
    mcDesk:204: error: 'cBarDisp' was not declared in this scope
    mcDesk.ino: In function 'void allMatrixOff()':
    mcDesk:213: error: 'matrixA' was not declared in this scope
    mcDesk:213: error: 'matrixOff' was not declared in this scope
    mcDesk:214: error: 'matrixB' was not declared in this scope
    mcDesk:215: error: 'matrixC' was not declared in this scope
    mcDesk:216: error: 'matrixD' was not declared in this scope
    mcDesk:217: error: 'matrixE' was not declared in this scope
    mcDesk.ino: At global scope:
    mcDesk:220: error: variable or field 'matrixOff' declared void
    mcDesk:220: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:220: error: expected primary-expression before 'buffer'

Update: Here is what the text said: Adafruit_LEDBackpack matrixA = Adafruit_LEDBackpack(); The orange bar says: Variable or field ‘matrixOff‘ declared void I cannot tell what of the following was from before, but here is the entire console log: mcDesk.ino:2:53: error: Adafruit_LEDBackpack.h: No such file or directory mcDesk.ino:3:45: error: Adafruit_GFX.h: No such file or directory mcDesk:11: error: Variable or field ‘matrixOff‘ declared void mcDesk:11:'Adafruit_LEDBackpack' was not declared in this scope mcDesk

Update: Here is what the text said: Adafruit_LEDBackpack matrixA = Adafruit_LEDBackpack(); The orange bar says: Variable or field ‘matrixOff‘ declared void I cannot tell what of the following was from before, but here is the entire console log:

    mcDesk.ino:2:53: error: Adafruit_LEDBackpack.h: No such file or directory
    mcDesk.ino:3:45: error: Adafruit_GFX.h: No such file or directory
    mcDesk:11: error: variable or field 'matrixOff' declared void
    mcDesk:11: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:11: error: expected primary-expression before 'buffer'
    mcDesk:12: error: variable or field 'ledOn' declared void
    mcDesk:12: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:12: error: expected primary-expression before 'buffer'
    mcDesk:12: error: expected primary-expression before 'cat'
    mcDesk:12: error: expected primary-expression before 'an'
    mcDesk:13: error: variable or field 'ledOff' declared void
    mcDesk:13: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:13: error: expected primary-expression before 'buffer'
    mcDesk:13: error: expected primary-expression before 'cat'
    mcDesk:13: error: expected primary-expression before 'an'
    mcDesk:14: error: variable or field 'dispMat' declared void
    mcDesk:14: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:14: error: expected primary-expression before 'buffer'
    mcDesk:17: error: variable or field 'threeDigitDisp' declared void
    mcDesk:17: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:17: error: expected primary-expression before 'buffer'
    mcDesk:17: error: expected primary-expression before 'cats'
    mcDesk:17: error: expected primary-expression before 'ans'
    mcDesk:17: error: expected primary-expression before 'number'
    mcDesk:18: error: variable or field 'digitDisp' declared void
    mcDesk:18: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:18: error: expected primary-expression before 'buffer'
    mcDesk:18: error: expected primary-expression before 'pos'
    mcDesk:18: error: expected primary-expression before 'cat'
    mcDesk:18: error: expected primary-expression before 'an'
    mcDesk:18: error: expected primary-expression before 'num'
    mcDesk:23: error: variable or field 'switchBars' declared void
    mcDesk:23: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:23: error: expected primary-expression before 'buffer'
    mcDesk:23: error: expected primary-expression before 'grphCats'
    mcDesk:23: error: expected primary-expression before 'grphAns'
    mcDesk:23: error: expected primary-expression before 'cmnd'
    mcDesk:23: error: expected primary-expression before 'offset'
    mcDesk:24: error: variable or field 'barDisp' declared void
    mcDesk:24: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:24: error: expected primary-expression before 'buffer'
    mcDesk:24: error: expected primary-expression before 'grphCats'
    mcDesk:24: error: expected primary-expression before 'grphAns'
    mcDesk:24: error: expected primary-expression before 'pos'
    mcDesk:24: error: expected primary-expression before 'offset'
    mcDesk:25: error: variable or field 'cBarDisp' declared void
    mcDesk:25: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:25: error: expected primary-expression before 'buffer'
    mcDesk:25: error: expected primary-expression before 'grphCats'
    mcDesk:25: error: expected primary-expression before 'grphAns'
    mcDesk:25: error: expected primary-expression before 'pos'
    mcDesk:25: error: expected primary-expression before 'offset'
    mcDesk:11: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk:12: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk:13: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk:14: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk:15: error: 'Adafruit_LEDBackpack' does not name a type
    mcDesk.ino: In function 'void decodeCommand()':
    mcDesk:193: error: 'matrixE' was not declared in this scope
    mcDesk:193: error: 'ledOn' was not declared in this scope
    mcDesk:199: error: 'matrixE' was not declared in this scope
    mcDesk:199: error: 'ledOff' was not declared in this scope
    mcDesk:204: error: 'matrixC' was not declared in this scope
    mcDesk:204: error: 'cBarDisp' was not declared in this scope
    mcDesk.ino: In function 'void allMatrixOff()':
    mcDesk:213: error: 'matrixA' was not declared in this scope
    mcDesk:213: error: 'matrixOff' was not declared in this scope
    mcDesk:214: error: 'matrixB' was not declared in this scope
    mcDesk:215: error: 'matrixC' was not declared in this scope
    mcDesk:216: error: 'matrixD' was not declared in this scope
    mcDesk:217: error: 'matrixE' was not declared in this scope
    mcDesk.ino: At global scope:
    mcDesk:220: error: variable or field 'matrixOff' declared void
    mcDesk:220: error: 'Adafruit_LEDBackpack' was not declared in this scope
    mcDesk:220: error: expected primary-expression before 'buffer'
added 560 characters in body
Source Link

I downloaded Arduino code from this: https://github.com/BabyWrassler/MissionControl/ Github, and got the error message below.

Error message

It is designed to work with a Raspberry Pi, and I installed the two Adafruit libraries. I also have not hooked it up to either the Pi, or the two Adafruit devices, but that is partly because I cannot get it to run without the error message. Sorry I put a picture instead of typing the error message, but I thought it would be easier to see the highlighting and the different places it put the error messages.

Update: Here is what the text said: Adafruit_LEDBackpack matrixA = Adafruit_LEDBackpack(); The orange bar says: Variable or field ‘matrixOff‘ declared void I cannot tell what of the following was from before, but here is the entire console log: mcDesk.ino:2:53: error: Adafruit_LEDBackpack.h: No such file or directory mcDesk.ino:3:45: error: Adafruit_GFX.h: No such file or directory mcDesk:11: error: Variable or field ‘matrixOff‘ declared void mcDesk:11:'Adafruit_LEDBackpack' was not declared in this scope mcDesk

I downloaded Arduino code from this: https://github.com/BabyWrassler/MissionControl/ Github, and got the error message below.

Error message

It is designed to work with a Raspberry Pi, and I installed the two Adafruit libraries. I also have not hooked it up to either the Pi, or the two Adafruit devices, but that is partly because I cannot get it to run without the error message. Sorry I put a picture instead of typing the error message, but I thought it would be easier to see the highlighting and the different places it put the error messages.

I downloaded Arduino code from this: https://github.com/BabyWrassler/MissionControl/ Github, and got the error message below.

Error message

It is designed to work with a Raspberry Pi, and I installed the two Adafruit libraries. I also have not hooked it up to either the Pi, or the two Adafruit devices, but that is partly because I cannot get it to run without the error message. Sorry I put a picture instead of typing the error message, but I thought it would be easier to see the highlighting and the different places it put the error messages.

Update: Here is what the text said: Adafruit_LEDBackpack matrixA = Adafruit_LEDBackpack(); The orange bar says: Variable or field ‘matrixOff‘ declared void I cannot tell what of the following was from before, but here is the entire console log: mcDesk.ino:2:53: error: Adafruit_LEDBackpack.h: No such file or directory mcDesk.ino:3:45: error: Adafruit_GFX.h: No such file or directory mcDesk:11: error: Variable or field ‘matrixOff‘ declared void mcDesk:11:'Adafruit_LEDBackpack' was not declared in this scope mcDesk

deleted 7 characters in body; edited tags
Source Link
asheeshr
  • 3.8k
  • 3
  • 26
  • 61
Loading
Source Link
Loading