hello everyone, so I just started messing around with proffie about a week ago, Ive been managing ok but i`m definitely in over my head, today when i was adding a couple of fonts and when i compiled it kept saying “booster pins not declared” Ive been able to troubleshoot most of the problems Ive run into but im not sure what to do on this one. i know i must sound super stupid lol. thanks for any info, sorry for the trouble
The config file looks reasonable, so I don’t think that’s where the problem is.
Can you also paste the actual error you are receiving? (Be sure to scroll up and get the first error you see, as that is the most important one.) Also, I’d be curious to see what the beginning of your ProffieOS.ino looks like.
Btw, using pastebin is ok, but not required. You can just click the “preformatted text” button and paste the code right there if you like.
In file included from C:\Users\haven\OneDrive\Desktop\ProffieOS-v5.7(2)\ProffieOS\ProffieOS.ino:552:
sketch\blades/ws2811_blade.h:314:18: note: candidate: ‘template<int LEDS, int DATA_PIN, Color8::Byteorder byteorder, class POWER_PINS, template<int , int , Color8::Byteorder , int , int , int , int > class PinClass, int frequency, int reset_us, int t0h, int t1h, int POWER_OFF_DELAY_MS> BladeBase* WS281XBladePtr()’
c:\users\haven\appdata\local\temp\arduino_build_612814\sketch\props\prop_base.h:354:5: note: in expansion of macro ‘BLADE_ID_CLASS_INTERNAL’
354 | BLADE_ID_CLASS_INTERNAL blade_id;
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\users\haven\appdata\local\temp\arduino_build_612814\sketch\props\saber_sa22c_buttons.h:123,
from sketch\config/mysaber_config.h:23,
from C:\Users\haven\OneDrive\Desktop\ProffieOS-v5.7(2)\ProffieOS\ProffieOS.ino:586:
c:\users\haven\appdata\local\temp\arduino_build_612814\sketch\props\prop_base.h:355:26: error: request for member ‘id’ in ‘blade_id’, which is of non-class type ‘int’
355 | float ret = blade_id.id();
| ^~
In file included from C:\Users\haven\OneDrive\Desktop\ProffieOS-v5.7(2)\ProffieOS\ProffieOS.ino:640:
sketch\config/mysaber_config.h: At global scope:
sketch\config/mysaber_config.h:88:34: error: ‘powerButtonPin’ was not declared in this scope; did you mean ‘PowerButton’?
C:\Users\haven\OneDrive\Desktop\ProffieOS-v5.7(2)\ProffieOS\ProffieOS.ino: In member function ‘virtual bool Commands::Parse(const char*, const char*)’:
ProffieOS:858:23: error: ‘boosterPin’ was not declared in this scope
858 | digitalWrite(boosterPin, HIGH);
| ^~~~~~~~~~
ProffieOS:863:23: error: ‘boosterPin’ was not declared in this scope
863 | digitalWrite(boosterPin, LOW);
| ^~~~~~~~~~
In file included from C:\Users\haven\OneDrive\Desktop\ProffieOS-v5.7(2)\ProffieOS\ProffieOS.ino:1651:
sketch\motion/lsm6ds3h.h: In member function ‘virtual void LSM6DS3H::Loop()’:
sketch\motion/lsm6ds3h.h:123:15: error: ‘motionSensorInterruptPin’ was not declared in this scope
123 | pinMode(motionSensorInterruptPin, INPUT);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\haven\OneDrive\Desktop\ProffieOS-v5.7(2)\ProffieOS\ProffieOS.ino:1671:
sketch\sound/amplifier.h: In member function ‘void Amplifier::Enable()’:
sketch\sound/amplifier.h:45:22: error: ‘amplifierPin’ was not declared in this scope; did you mean ‘Amplifier’?
45 | if (!digitalRead(amplifierPin)) {
| ^~~~~~~~~~~~
| Amplifier
sketch\sound/amplifier.h: In member function ‘virtual void Amplifier::Setup()’:
sketch\sound/amplifier.h:58:13: error: ‘amplifierPin’ was not declared in this scope; did you mean ‘Amplifier’?
58 | pinMode(amplifierPin, OUTPUT);
| ^~~~~~~~~~~~
| Amplifier
sketch\sound/amplifier.h: In member function ‘virtual void Amplifier::Loop()’:
sketch\sound/amplifier.h:78:15: error: ‘amplifierPin’ was not declared in this scope; did you mean ‘Amplifier’?
78 | pinMode(amplifierPin, INPUT_ANALOG); // Let the pull-down do the work
| ^~~~~~~~~~~~
| Amplifier
sketch\sound/amplifier.h: In member function ‘virtual bool Amplifier::Parse(const char*, const char*)’:
sketch\sound/amplifier.h:98:10: error: ‘amplifierPin’ was not declared in this scope; did you mean ‘Amplifier’?
98 | pinMode(amplifierPin, INPUT_ANALOG); // Let the pull-down do the work
| ^~~~~~~~~~~~
| Amplifier
In file included from C:\Users\haven\OneDrive\Desktop\ProffieOS-v5.7(2)\ProffieOS\ProffieOS.ino:1673:
sketch\common/booster.h: In member function ‘void Booster::Enable()’:
sketch\common/booster.h:30:15: error: ‘boosterPin’ was not declared in this scope; did you mean ‘Booster’?
30 | pinMode(boosterPin, OUTPUT);
| ^~~~~~~~~~
| Booster
sketch\common/booster.h: In member function ‘virtual void Booster::Setup()’:
sketch\common/booster.h:41:13: error: ‘boosterPin’ was not declared in this scope; did you mean ‘Booster’?
41 | pinMode(boosterPin, OUTPUT);
| ^~~~~~~~~~
| Booster
sketch\common/booster.h: In member function ‘virtual void Booster::Loop()’:
sketch\common/booster.h:55:20: error: ‘boosterPin’ was not declared in this scope; did you mean ‘Booster’?
55 | digitalWrite(boosterPin, LOW); // turn the booster off
| ^~~~~~~~~~
| Booster
sketch\common/booster.h: In member function ‘virtual bool Booster::Parse(const char*, const char*)’:
sketch\common/booster.h:70:22: error: ‘boosterPin’ was not declared in this scope; did you mean ‘Booster’?
70 | digitalWrite(boosterPin, LOW); // turn the booster off
| ^~~~~~~~~~
| Booster
C:\Users\haven\OneDrive\Desktop\ProffieOS-v5.7(2)\ProffieOS\ProffieOS.ino: In function ‘void setup()’:
ProffieOS:1691:11: error: ‘boosterPin’ was not declared in this scope; did you mean ‘booster’?
1691 | pinMode(boosterPin, OUTPUT);
| ^~~~~~~~~~
| booster
ProffieOS:1722:44: error: ‘batteryLevelPin’ was not declared in this scope; did you mean ‘BatteryLevel’?
This is the problem. Unfortunately it’s an error that is a bit hard to diagnose exactly. The most likely reason for this error is that there is some junk in your ProffieOS.ino file somewhere. (Somewhere before the first #include CONFIG_FILE)
i downloaded a new copy and it worked! i must have accidentally typed something with switching tabs or something, ill be more care full next time, lol. thank you so much for the help, and may the force be with you!!