TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: jdeitch on March 06, 2021, 02:34:59 PM

Title: TinyDuino Robot Controller: fatal error: RHutil/atomic.h: No such file
Post by: jdeitch on March 06, 2021, 02:34:59 PM
Noob trying to self-teach for robotics project.  I'm trying to build this robot car example:

https://tinycircuits.com/blogs/learn/130923655-tinyduino-robot-controller

I'm getting a compile error every time I try to complie the sketch: 'fatal error: RHutil/atomic.h: No such file or directory
   #include <RHutil/atomic.h'

Any help would be greatly appreciated.
Title: Re: TinyDuino Robot Controller: fatal error: RHutil/atomic.h: No such file
Post by: lennevia on March 08, 2021, 06:00:58 PM
Hello,

That error would mean you are missing the file mentioned. The file in question is likely from this library: https://github.com/PaulStoffregen/RadioHead/tree/master/RHutil

It may help to select the correct processor (TinyDuino) in the tools menu for compilation.

Another thing worth mentioning - the Motor x4 board in that tutorial was discontinued in favor of the Dual Motor TinyShield: https://tinycircuits.com/products/dual-motor-tinyshield
The Joystick TinyShield was also discontinued due to difficulty manufacturing.

Let me know if that helps!
RĂ©na