View: 232|Reply: 3

error loading Nano on the smart car

[Copy link]

3

Threads

7

Posts

27

Credits

Newbie

Rank: 1

Credits
27
Post time 2018-9-2 02:39:08 | Show all posts |Read mode
Hello,

I just put the whole package together:

Loading the AdeeptMotor.ino config gives me no errors.

Loading the AdeeptRemoteControl.ino gives me the following error:


  1. C:\Users\...\Downloads\AdeeptIntelligentRemoteControlCarKitForArduinoV1_2\AdeeptIntelligentRemoteControlCarKitForArduino\AdeeptRemoteControl\AdeeptRemoteControl.ino:22:21: warning: initializer-string for array of chars is too long [-fpermissive]

  2. byte addresses[5] = "00007";  // define communication address which should correspond to remote control

  3.                      ^

  4. Sketch uses 2586 bytes (8%) of program storage space. Maximum is 30720 bytes.
  5. Global variables use 54 bytes (2%) of dynamic memory, leaving 1994 bytes for local variables. Maximum is 2048 bytes.
Copy the Code


I cannot tell what the error is. the same line appears in the motor code so looks good (the marker points below the " before the 0)

What is the ADXL345 module for? The manual does not refer to it? Already tried it with and without.


Reply

Use magic Report

3

Threads

7

Posts

27

Credits

Newbie

Rank: 1

Credits
27
 Author| Post time 2018-9-2 02:51:55 | Show all posts
sorry I wasn't waiting long enough Now I get these errors

  1. avrdude: stk500_recv(): programmer is not responding
  2. avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x05
  3. avrdude: stk500_recv(): programmer is not responding
  4. avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x05
  5. avrdude: stk500_recv(): programmer is not responding
  6. avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x05
  7. avrdude: stk500_recv(): programmer is not responding
  8. avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x05
  9. avrdude: stk500_recv(): programmer is not responding
  10. avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x05
  11. avrdude: stk500_recv(): programmer is not responding
  12. avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x05
  13. avrdude: stk500_recv(): programmer is not responding
  14. avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x05
  15. avrdude: stk500_recv(): programmer is not responding
  16. avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x05
  17. avrdude: stk500_recv(): programmer is not responding
  18. avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x05
  19. avrdude: stk500_recv(): programmer is not responding
  20. avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x05
  21. Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Copy the Code


googling...
Reply

Use magic Report

3

Threads

7

Posts

27

Credits

Newbie

Rank: 1

Credits
27
 Author| Post time 2018-9-2 02:58:46 | Show all posts
Ok found it, need to load in old bootloader

working!!!!!

I still see a lot of minor tweaking. I'll keep you posted...

Reply

Use magic Report

4

Threads

29

Posts

295

Credits

Intermediate member

Rank: 3Rank: 3

Credits
295
Post time 2018-9-6 17:20:32 | Show all posts
You can try modifying the code to complete more functions.
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules