I think I got some good answers in this thread. As I'm moving along in this code, i'm coming across a lot of other errors every time I compile. Now there are issues with the Liquid Crystal Display functions. errors below...
My initial goal is to get this stewart platform to work by incorporating an IMU. I dont need the IR controls and dont need the LCD. I'll start a new thread with requests on how to delete the IR controls and add in the IMU in their place - as well as where to comment out the LCD - so I can go on to learn how to incorporate it into the design later.
thanks.
Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"
platform:73: error: no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'
LiquidCrystal_I2C lcd(I2C_ADDR, En, Rw, Rs, D4,D5,D6,D7);
^
C:\Users\Primary\Documents\Arduino\IRLCD Stewart Platform\RotaryStewartPlatform-master\src_arduino_code\platform\platform.ino:73:56: note: candidates are:
In file included from C:\Users\Primary\Documents\Arduino\IRLCD Stewart Platform\RotaryStewartPlatform-master\src_arduino_code\platform\platform.ino:19:0:
C:\Users\Primary\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:57:3: note: LiquidCrystal_I2C::LiquidCrystal_I2C(uint8_t, uint8_t, uint8_t)
LiquidCrystal_I2C(uint8_t lcd_Addr,uint8_t lcd_cols,uint8_t lcd_rows);
^
C:\Users\Primary\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:57:3: note: candidate expects 3 arguments, 8 provided
C:\Users\Primary\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:55:7: note: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(const LiquidCrystal_I2C&)
class LiquidCrystal_I2C : public Print {
^
C:\Users\Primary\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:55:7: note: candidate expects 1 argument, 8 provided
C:\Users\Primary\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:55:7: note: constexpr LiquidCrystal_I2C::LiquidCrystal_I2C(LiquidCrystal_I2C&&)
C:\Users\Primary\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:55:7: note: candidate expects 1 argument, 8 provided
C:\Users\Primary\Documents\Arduino\IRLCD Stewart Platform\RotaryStewartPlatform-master\src_arduino_code\platform\platform.ino: In function 'void setup()':
platform:141: error: 'class LiquidCrystal_I2C' has no member named 'setBacklightPin'
lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);
^
exit status 1
no matching function for call to 'LiquidCrystal_I2C::LiquidCrystal_I2C(int, int, int, int, int, int, int, int)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.