ncmreynolds / ld2410

An Arduino library for the Hi-Link LD2410 24Ghz FMCW radar sensor.
GNU Lesser General Public License v2.1
179 stars 37 forks source link

Update ld2410.cpp #6

Closed ajahern95 closed 1 year ago

ajahern95 commented 1 year ago

Changed Char Typecasting to Byte, as Arduino IDE does not like char(0x00). Worked for ESP32 (Lolin D32). Updated nearly all instances of char(..) beyond a few variable writes, to (byte) typecast.

https://support.arduino.cc/hc/en-us/articles/360021722399-Error-call-of-overloaded-write-int-is-ambiguous