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

jdeitch

  • Newbie
  • *
    • Posts: 1
    • View Profile
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.


lennevia

  • Administrator
  • Hero Member
  • *****
    • Posts: 437
    • View Profile
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



 

SMF spam blocked by CleanTalk