Arduino R4 WiFi SERVO ISSUE, resolved

155 views
Skip to first unread message

James H Phelan

unread,
Jun 29, 2024, 3:29:36 PM6/29/24
to HomeBrew Robotics Club

Team,

Upon y'all's advice my Arduino R4 WiFi arrived this morning.

But -- when I tried to load my TableBot code, I got the same error message as with my ESP32 WROOM:

WARNING: library Servo claims to run on avr, megaavr, sam, samd, nrf52, stm32f4, mbed, mbed_nano, mbed_portenta, mbed_rp2040 architecture(s) and may be incompatible with your current board which runs on renesas_uno architecture(s).
In file included from C:\Users\jhphe\OneDrive\Documents\Arduino\HBRC_Ch02_TABLEBOT_III_Camp_MOD06\HBRC_Ch02_TABLEBOT_III_Camp_MOD06.ino:4:0:
C:\Users\jhphe\AppData\Local\Arduino15\libraries\Servo\src/Servo.h:77:2: error: #error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
 #error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."
  ^~~~~
exit status 1

Compilation error: exit status 1

Some Googling took me to this repo 

https://github.com/arduino-libraries/Servo/tree/master

which you can manually install following this:

https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries/#importing-a-zip-library

Following that, the code compiled & installed OK.

Now to play with the Bluetooth and WiFi to "cut the cord"!

RoverDoc

-- 
James H Phelan
"Nihil est sine ratione cur potius sit quam non sit"
Leibniz
Reply all
Reply to author
Forward
0 new messages