Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IOS app not connecting
03-04-2020, 01:21 AM
Post: #1
IOS app not connecting
Hi all,
I bought the complete bRobot kit as I don’t have a 3D printer yet.
Assembly was easy enough and my robot will self balance but I can’t control it with the app.
The new WiFi that appears is called AI-THINKER_......... and it doesn’t require a password. It also doesn’t let me connect and control my robot.
Any advice?
Go easy, I’m a geriatric newbie that wants to learn.
Find all posts by this user
Quote this message in a reply
03-04-2020, 12:47 PM
Post: #2
RE: IOS app not connecting
Did you upload any code to the board? It looks like the firmware is not updating the WIFI module default parameters?
Visit this user's website Find all posts by this user
Quote this message in a reply
03-04-2020, 12:49 PM
Post: #3
RE: IOS app not connecting
I have not uploaded any code yet.
I will do that this weekend and see if that helps.
I’m very new at this and I appreciate your patience with me.
Find all posts by this user
Quote this message in a reply
03-05-2020, 01:25 AM (This post was last modified: 03-05-2020 01:42 AM by theidlemind.)
Post: #4
RE: IOS app not connecting
(03-04-2020 12:47 PM)JJrobots JP Wrote:  Did you upload any code to the board? It looks like the firmware is not updating the WIFI module default parameters?

I've uploaded the new code to the board with the same results.
I do get the error code
'RAD2GRAD' was not declared in this scope
Board is Leonardo?
Com port is 4?
Thank You.

(03-04-2020 12:47 PM)JJrobots JP Wrote:  Did you upload any code to the board? It looks like the firmware is not updating the WIFI module default parameters?

Another try yielded this...
Arduino: 1.8.12 (Windows 10), Board: "Arduino Leonardo"

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\IMU.ino:117:0: warning: "MPU6050_AUX_VDDIO" redefined

#define MPU6050_AUX_VDDIO MPU6050_D7 // I2C high: 1=VDD, 0=VLOGIC



C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\IMU.ino:13:0: note: this is the location of the previous definition

#define MPU6050_AUX_VDDIO 0x01 // R/W



C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\IMU.ino:360:0: warning: "MPU6050_FIFO_EN" redefined

#define MPU6050_FIFO_EN MPU6050_D6



C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\IMU.ino:24:0: note: this is the location of the previous definition

#define MPU6050_FIFO_EN 0x23 // R/W



C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino: In function 'void setup()':

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:254:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

ESPsendCommand("AT", "OK", 1);

^

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:255:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

ESPsendCommand("AT+RST", "OK", 2); // ESP Wifi module RESET

^

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

ESPsendCommand("AT+GMR", "OK", 5);

^

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:283:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

ESPsendCommand("AT+CWMODE=2", "OK", 3); // Soft AP mode

^

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:285:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

char *cmd = "AT+CWSAP=\"JJROBOTS_XX\",\"87654321\",5,3";

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:293:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

ESPsendCommand("AT+CIPMUX=0", "OK", 3); // Single connection mode

^

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:294:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

ESPsendCommand("AT+CIPMODE=1", "OK", 3); // Transparent mode

^

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:304:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

ESPsendCommand("AT+CIPSEND", ">", 2); // Start transmission (transparent mode)

^

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void TC5_Handler()':

Control:61:3: error: 'TC5' was not declared in this scope

TC5->COUNT16.INTFLAG.bit.MC0 = 1; //don't change this, it's part of the timer code

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:61:3: note: suggested alternative: 'TC45'

TC5->COUNT16.INTFLAG.bit.MC0 = 1; //don't change this, it's part of the timer code

^~~

TC45

Control:64:3: error: 'REG_PORT_OUTSET0' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA15; // STEP Motor1

^~~~~~~~~~~~~~~~

Control:64:22: error: 'PORT_PA15' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA15; // STEP Motor1

^~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:64:22: note: suggested alternative: 'PORTB1'

REG_PORT_OUTSET0 = PORT_PA15; // STEP Motor1

^~~~~~~~~

PORTB1

Control:71:3: error: 'REG_PORT_OUTCLR0' was not declared in this scope

REG_PORT_OUTCLR0 = PORT_PA15; // STEP Motor1

^~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void TC3_Handler()':

Control:77:3: error: 'TC3' was not declared in this scope

TC3->COUNT16.INTFLAG.bit.MC0 = 1; // Interrupt reset

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:77:3: note: suggested alternative: 'TC43'

TC3->COUNT16.INTFLAG.bit.MC0 = 1; // Interrupt reset

^~~

TC43

Control:80:3: error: 'REG_PORT_OUTSET0' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA21; // STEP Motor2

^~~~~~~~~~~~~~~~

Control:80:22: error: 'PORT_PA21' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA21; // STEP Motor2

^~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:80:22: note: suggested alternative: 'PORTB1'

REG_PORT_OUTSET0 = PORT_PA21; // STEP Motor2

^~~~~~~~~

PORTB1

Control:87:3: error: 'REG_PORT_OUTCLR0' was not declared in this scope

REG_PORT_OUTCLR0 = PORT_PA21; // STEP Motor2

^~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void TCC2_Handler()':

Control:94:3: error: 'TCC2' was not declared in this scope

TCC2->INTFLAG.bit.MC0 = 1;

^~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:94:3: note: suggested alternative: 'TC42'

TCC2->INTFLAG.bit.MC0 = 1;

^~~~

TC42

Control:97:3: error: 'REG_PORT_OUTSET0' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA07; // STEP Motor3

^~~~~~~~~~~~~~~~

Control:97:22: error: 'PORT_PA07' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA07; // STEP Motor3

^~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:97:22: note: suggested alternative: 'PORT0'

REG_PORT_OUTSET0 = PORT_PA07; // STEP Motor3

^~~~~~~~~

PORT0

Control:104:3: error: 'REG_PORT_OUTCLR0' was not declared in this scope

REG_PORT_OUTCLR0 = PORT_PA07; // STEP Motor3

^~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void timersConfigure()':

Control:115:2: error: 'GCLK' was not declared in this scope

GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

^~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:115:2: note: suggested alternative: 'SCK'

GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

^~~~

SCK

Control:115:34: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope

GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

^~~~~~~~~~~~~~~~~~

Control:115:55: error: 'GCLK_CLKCTRL_GEN_GCLK0' was not declared in this scope

GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

^~~~~~~~~~~~~~~~~~~~~~

Control:115:96: error: 'GCM_TCC2_TC3' was not declared in this scope

GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

^~~~~~~~~~~~

Control:115:80: error: 'GCLK_CLKCTRL_ID' was not declared in this scope

GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

^~~~~~~~~~~~~~~

Control:117:96: error: 'GCM_TC4_TC5' was not declared in this scope

GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5));

^~~~~~~~~~~

Control:121:2: error: 'TC3' was not declared in this scope

TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:121:2: note: suggested alternative: 'TC43'

TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~

TC43

Control:121:27: error: 'TC_CTRLA_SWRST' was not declared in this scope

TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~~~~~~~~~~~~

Control:122:35: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

^~~~~~~~~~~~~~~~~~

Control:126:28: error: 'TC_CTRLA_MODE_COUNT16' was not declared in this scope

TC3->COUNT16.CTRLA.reg |= TC_CTRLA_MODE_COUNT16;

^~~~~~~~~~~~~~~~~~~~~

Control:128:28: error: 'TC_CTRLA_WAVEGEN_MFRQ' was not declared in this scope

TC3->COUNT16.CTRLA.reg |= TC_CTRLA_WAVEGEN_MFRQ;

^~~~~~~~~~~~~~~~~~~~~

Control:130:28: error: 'TC_CTRLA_PRESCALER_DIV16' was not declared in this scope

TC3->COUNT16.CTRLA.reg |= TC_CTRLA_PRESCALER_DIV16 | TC_CTRLA_ENABLE; // preescaler 16 48Mhz=>3Mhz

^~~~~~~~~~~~~~~~~~~~~~~~

Control:130:55: error: 'TC_CTRLA_ENABLE' was not declared in this scope

TC3->COUNT16.CTRLA.reg |= TC_CTRLA_PRESCALER_DIV16 | TC_CTRLA_ENABLE; // preescaler 16 48Mhz=>3Mhz

^~~~~~~~~~~~~~~

Control:134:35: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

^~~~~~~~~~~~~~~~~~

Control:137:18: error: 'TC3_IRQn' was not declared in this scope

NVIC_DisableIRQ(TC3_IRQn);

^~~~~~~~

Control:137:2: error: 'NVIC_DisableIRQ' was not declared in this scope

NVIC_DisableIRQ(TC3_IRQn);

^~~~~~~~~~~~~~~

Control:138:2: error: 'NVIC_ClearPendingIRQ' was not declared in this scope

NVIC_ClearPendingIRQ(TC3_IRQn);

^~~~~~~~~~~~~~~~~~~~

Control:139:2: error: 'NVIC_SetPriority' was not declared in this scope

NVIC_SetPriority(TC3_IRQn, 0);

^~~~~~~~~~~~~~~~

Control:140:2: error: 'NVIC_EnableIRQ' was not declared in this scope

NVIC_EnableIRQ(TC3_IRQn);

^~~~~~~~~~~~~~

Control:144:35: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); //wait until syncing

^~~~~~~~~~~~~~~~~~

Control:147:2: error: 'TC5' was not declared in this scope

TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:147:2: note: suggested alternative: 'TC45'

TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~

TC45

Control:148:35: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

^~~~~~~~~~~~~~~~~~

Control:160:35: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

^~~~~~~~~~~~~~~~~~

Control:163:18: error: 'TC5_IRQn' was not declared in this scope

NVIC_DisableIRQ(TC5_IRQn);

^~~~~~~~

Control:170:35: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); //wait until syncing

^~~~~~~~~~~~~~~~~~

Control:173:2: error: 'TCC2' was not declared in this scope

TCC2->CTRLA.reg = TC_CTRLA_SWRST;

^~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:173:2: note: suggested alternative: 'TC42'

TCC2->CTRLA.reg = TC_CTRLA_SWRST;

^~~~

TC42

Control:183:20: error: 'TCC_WAVE_WAVEGEN_MFRQ' was not declared in this scope

TCC2->WAVE.reg |= TCC_WAVE_WAVEGEN_MFRQ;

^~~~~~~~~~~~~~~~~~~~~

Control:185:21: error: 'TCC_CTRLA_PRESCALER_DIV16' was not declared in this scope

TCC2->CTRLA.reg |= TCC_CTRLA_PRESCALER_DIV16 | TCC_CTRLA_ENABLE; // preescaler 16 48Mhz=>3Mhz

^~~~~~~~~~~~~~~~~~~~~~~~~

Control:185:49: error: 'TCC_CTRLA_ENABLE' was not declared in this scope

TCC2->CTRLA.reg |= TCC_CTRLA_PRESCALER_DIV16 | TCC_CTRLA_ENABLE; // preescaler 16 48Mhz=>3Mhz

^~~~~~~~~~~~~~~~

Control:188:24: error: 'TCC_CTRLBCLR_LUPD' was not declared in this scope

TCC2->CTRLBCLR.reg |= TCC_CTRLBCLR_LUPD; // Enable doble buffering

^~~~~~~~~~~~~~~~~

Control:194:18: error: 'TCC2_IRQn' was not declared in this scope

NVIC_DisableIRQ(TCC2_IRQn);

^~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void timersStart()':

Control:211:3: error: 'TC3' was not declared in this scope

TC3->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:211:3: note: suggested alternative: 'TC43'

TC3->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

^~~

TC43

Control:211:29: error: 'TC_CTRLA_ENABLE' was not declared in this scope

TC3->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

^~~~~~~~~~~~~~~

Control:212:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); //wait until snyc'd

^~~~~~~~~~~~~~~~~~

Control:213:3: error: 'TC5' was not declared in this scope

TC5->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:213:3: note: suggested alternative: 'TC45'

TC5->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

^~~

TC45

Control:214:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); //wait until snyc'd

^~~~~~~~~~~~~~~~~~

Control:215:3: error: 'TCC2' was not declared in this scope

TCC2->CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

^~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:215:3: note: suggested alternative: 'TC42'

TCC2->CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

^~~~

TC42

Control:216:29: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TCC2->STATUS.reg & TC_STATUS_SYNCBUSY); //wait until snyc'd

^~~~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void timersReset()':

Control:222:3: error: 'TC3' was not declared in this scope

TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:222:3: note: suggested alternative: 'TC43'

TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~

TC43

Control:222:28: error: 'TC_CTRLA_SWRST' was not declared in this scope

TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~~~~~~~~~~~~

Control:223:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

^~~~~~~~~~~~~~~~~~

Control:225:3: error: 'TC5' was not declared in this scope

TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:225:3: note: suggested alternative: 'TC45'

TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

^~~

TC45

Control:226:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

^~~~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void timersDisable()':

Control:233:3: error: 'TC3' was not declared in this scope

TC3->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:233:3: note: suggested alternative: 'TC43'

TC3->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

^~~

TC43

Control:233:30: error: 'TC_CTRLA_ENABLE' was not declared in this scope

TC3->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

^~~~~~~~~~~~~~~

Control:234:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

^~~~~~~~~~~~~~~~~~

Control:235:3: error: 'TC5' was not declared in this scope

TC5->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:235:3: note: suggested alternative: 'TC45'

TC5->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

^~~

TC45

Control:236:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

^~~~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void setMotorSpeedM1(int16_t)':

Control:305:5: error: 'REG_PORT_OUTSET0' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA20;

^~~~~~~~~~~~~~~~

Control:305:24: error: 'PORT_PA20' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA20;

^~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:305:24: note: suggested alternative: 'PORT0'

REG_PORT_OUTSET0 = PORT_PA20;

^~~~~~~~~

PORT0

Control:312:5: error: 'REG_PORT_OUTCLR0' was not declared in this scope

REG_PORT_OUTCLR0 = PORT_PA20;

^~~~~~~~~~~~~~~~

Control:312:24: error: 'PORT_PA20' was not declared in this scope

REG_PORT_OUTCLR0 = PORT_PA20;

^~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:312:24: note: suggested alternative: 'PORT0'

REG_PORT_OUTCLR0 = PORT_PA20;

^~~~~~~~~

PORT0

Control:318:3: error: 'TC5' was not declared in this scope

TC5->COUNT16.CC[0].reg = (uint16_t) timer_period;

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:318:3: note: suggested alternative: 'TC45'

TC5->COUNT16.CC[0].reg = (uint16_t) timer_period;

^~~

TC45

Control:319:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

^~~~~~~~~~~~~~~~~~

Control:324:12: error: 'TC3' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:324:12: note: suggested alternative: 'TC43'

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

^~~

TC43

Control:324:38: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

^~~~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino: In function 'void setMotorSpeedM2(int16_t)':

Control:362:5: error: 'REG_PORT_OUTCLR0' was not declared in this scope

REG_PORT_OUTCLR0 = PORT_PA06; // Dir Motor2 (Forward)

^~~~~~~~~~~~~~~~

Control:362:24: error: 'PORT_PA06' was not declared in this scope

REG_PORT_OUTCLR0 = PORT_PA06; // Dir Motor2 (Forward)

^~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:362:24: note: suggested alternative: 'PORT0'

REG_PORT_OUTCLR0 = PORT_PA06; // Dir Motor2 (Forward)

^~~~~~~~~

PORT0

Control:369:5: error: 'REG_PORT_OUTSET0' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA06;

^~~~~~~~~~~~~~~~

Control:369:24: error: 'PORT_PA06' was not declared in this scope

REG_PORT_OUTSET0 = PORT_PA06;

^~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:369:24: note: suggested alternative: 'PORT0'

REG_PORT_OUTSET0 = PORT_PA06;

^~~~~~~~~

PORT0

Control:375:3: error: 'TC3' was not declared in this scope

TC3->COUNT16.CC[0].reg = (uint16_t) timer_period;

^~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\Control.ino:375:3: note: suggested alternative: 'TC43'

TC3->COUNT16.CC[0].reg = (uint16_t) timer_period;

^~~

TC43

Control:376:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

^~~~~~~~~~~~~~~~~~

Control:381:38: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

^~~~~~~~~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\IMU.ino: At global scope:

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\IMU.ino:441:1: warning: 'typedef' was ignored in this declaration

typedef union accel_t_gyro_union

^~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\IMU.ino: In function 'int MPU6050_read(int, uint8_t*, int)':

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\IMU.ino:714:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:

Wire.requestFrom(MPU6050_I2C_ADDRESS, size, true);

^

In file included from C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\BROBOT_EVO2_23_M0.ino:47:0:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:65:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int)

uint8_t requestFrom(int, int, int);

^~~~~~~~~~~

C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:62:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)

uint8_t requestFrom(uint8_t, uint8_t, uint8_t);

^~~~~~~~~~~

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\OSC.ino: In function 'void OSC_MsgRead()':

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\OSC.ino:206:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

OSC_MsgSend("/1/fader1\0\0\0,f\0\0\0\0\0\0", 20, 0.5);

^

C:\Users\david\Desktop\B Robot\BROBOT_EVO2_23_M0\OSC.ino:219:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

OSC_MsgSend("/1/fader2\0\0\0,f\0\0\0\0\0\0", 20, 0.5);

^

exit status 1
'TC5' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Still no connection to the IOS app and doesn't ask for a password.
Thanks again......
Find all posts by this user
Quote this message in a reply
03-05-2020, 10:18 AM
Post: #5
RE: IOS app not connecting
Can we have your order ID please? We need to know what you got
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2020, 02:20 PM
Post: #6
RE: IOS app not connecting
(03-05-2020 10:18 AM)JJrobots JP Wrote:  Can we have your order ID please? We need to know what you got

order #9573
The board is a Devia control board 1.0
Thank you.
Find all posts by this user
Quote this message in a reply
03-05-2020, 02:51 PM
Post: #7
RE: IOS app not connecting
I see... You have to follow this assembly instructions (looks like you have been trying to upload the code for the old Brain shield + Arduino Leonardo board): https://www.jjrobots.com/b-robot-evo-2-a...uide-v1-2/

Go to: HOW TO UPLOAD the ARDUINO CODE to the DEVIA CONTROL BOARD
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2020, 03:47 PM
Post: #8
RE: IOS app not connecting
(03-05-2020 02:51 PM)JJrobots JP Wrote:  I see... You have to follow this assembly instructions (looks like you have been trying to upload the code for the old Brain shield + Arduino Leonardo board): https://www.jjrobots.com/b-robot-evo-2-a...uide-v1-2/

Go to: HOW TO UPLOAD the ARDUINO CODE to the DEVIA CONTROL BOARD

Thank You. I will try that and let you know.
Find all posts by this user
Quote this message in a reply
03-06-2020, 02:21 AM
Post: #9
RE: IOS app not connecting
(03-05-2020 02:51 PM)JJrobots JP Wrote:  I see... You have to follow this assembly instructions (looks like you have been trying to upload the code for the old Brain shield + Arduino Leonardo board): https://www.jjrobots.com/b-robot-evo-2-a...uide-v1-2/

Go to: HOW TO UPLOAD the ARDUINO CODE to the DEVIA CONTROL BOARD

So I’ve gone to the board manager and added the proper board, uploaded the file using com8 (as recommended) , updated the drivers, and I think I’m back at the starting point for the ready to run kit.
I’m on the “thinker-ai” network but it still doesn’t ask for a password and still won’t connect to the app.
The robot stands up and balances fine but can’t be controlled.
What is my next option to try?
Find all posts by this user
Quote this message in a reply
03-31-2020, 12:44 PM
Post: #10
RE: IOS app not connecting
I have the same problem with this....
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)