TinyDuino Robot Controller: fatal error: RHutil/atomic.h: No such file


  • Newbie
  • *
    • Posts: 1
    • View Profile
Noob trying to self-teach for robotics project.  I'm trying to build this robot car example:


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.


  • Administrator
  • Hero Member
  • *****
    • Posts: 437
    • View Profile

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!


SMF spam blocked by CleanTalk