Skip to main content
1 of 2
Milliways
  • 61.4k
  • 32
  • 108
  • 212

AFAIK there is no wiringSerial library; everything is included in one of the standard libraries. I use the following in all my Makefiles

LDLIBS    = -lwiringPi -lwiringPiDev -lpthread -lm

PS It is recommended you use /dev/serial0

Milliways
  • 61.4k
  • 32
  • 108
  • 212