Arduino Robot Motor core accidentally overriden - arduino

Emmm..I am supposedly to plug the USB cord to the top port, but I accidentally plugged it to the bottom port. I'm really new (know nothing) on Arduino. I'm trying to upload Robot_Motor_Core from File/Example/Robot_Motor, but the program does not even compile. The error message is as follow:
/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Motor/ArduinoRobotMotorBoard.cpp:
In member function 'void RobotMotorBoard::_refreshMotorAdjustment()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Motor/ArduinoRobotMotorBoard.cpp:256:
error: 'TRIM' was not declared in this scope
Now I am just panicking because even the Robot_IR_Array_Test does not even compile as well. The error message is here:
Robot_IR_Array_Test.ino: In function 'void loop()':
Robot_IR_Array_Test:22: error: 'class RobotMotorBoard' has no member
named 'readIR'
Any advice???? How to set the Arduino robot back to default??
The help doc link is here: http://arduino.cc/en/Guide/Robot

The above problems appear to be with the IDE and not the robot. A brute force method of making a new directory with a fresh install or unzip of the IDE should fix the errors. And or a reboot or restart of Java.

Related

cc1plus.exe: fatal error: CommonHFile.h: No such file or directory compilation terminated. while used esp8266 and arduino

I tried to use esp8266 with my Uno board. when I start the basic example "hellosever", the IDE sends me back this message :
cc1plus.exe: fatal error: C:\Users\PropriƩtaire\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\cores\esp8266\CommonHFile.h: No such file or directory
I look at the directory and the file is there and there is no file/folder with space or things like this. Can you help me with this?

How to fix "vagrant up" errors when trying to set up Trellis?

I've been trying to set up a Trellis local WordPress dev environment from the Roots stack. I did all the steps from the docs, have the recommended folder structure, downloaded all the dependencies, but I still get a few errors.
First I get some errors and warnings when I use "yarn" in my theme folder, as suggested here. They say to use the CLI from my host instead of Vagrant box, that's just the MacBook's terminal right? Or do I need a CLI from VirtualBox?
The second error happens when trying to call "vagrant up", and this is one that I can paste here as it's a bit more concise.
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp
After Googling this I got a lot of outdated suggestions to check my PATH and restart the VirtualBox, but these I tried and didn't help. I hope someone can help me set this up, thanks. :)

"#include <avr/eeprom.h>" in Arduino-IDE?

After a long time I tried to get back in Arduino Programming. But with my old code I get the following error:
fatal error: avr/eeprom.h: No such file or directory
#include <avr/eeprom.h>
^
compilation terminated.
exit status 1
So why doesn't he find the avr library. Do I need to install it manually? And where can I find a download of it?
The <avr/eeprom.h> is available only for the AVR architecture. It's not possible to use it on other MCU architectures.
And ESP8266 is definitely completely different MCU architecture.

New Static Library has build error "libtool exited with code 1"

I created a new static library in my iOS project and now I'm getting the build error
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool failed with exit code 1
How do I go about debugging this?
To see the actual output and not just the error message, try building your target or scheme with xcodebuild from command line.
I had a problem with the same error message. In my case, I couldn't build for the simulator, but it worked find when building for the device. The output from xcodebuild confirmed that Xcode could not set the proper architecture to build for the simulator.
Long story short, it turned out that one build setting was corrupted. The Mach-O Type setting in the Linking category was set to Relocatable Object File for some reason. I switched it back to Static Library and the error disappeared.

Depmod - unresolved symbols in rt73 module

I'm trying to install a linux driver for my wireless network card (D-Link DWL-G510) on my Red Hat Linux 7.1 machine with a 2.4.37.9 kernel. I downloaded the serial monkey driver from the sourceforge site and was able to successfully compile the module. However, whenever I do a "make install", the make script executes a "depmod -a" command which then complains with the message: "Unresolved symbols in /lib/modules/2.4.37.9/extra/rt73.o".
I then executed a "depmod -e" command to show unresolved symbols and it indicates the following information:
request_firmware_Rsmp_38ce5074
release_firmware_Rsmp_33934162
I did a grep on the above information and it showed no source files making reference to it. I searched for it on google and it returned no results. Can anyone help?
I found out the reason - it was missing the firmware_class module. I had to rebuild kernel modules with the experimental feature CONFIG_FW_LOADER as a module which is found under Library routines\Hotplug firmware loading support. After loading the firmware_class module, the rt73 module loaded successfully also.

Resources