budryerson / TFMini-Plus

Arduino library for the Benewake TFMini-Plus and TFMini-S LiDAR distance sensors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Initial Run

mcradit opened this issue · comments

Hello @budryerson ,

I just hooked a TF Mini Plus to a MKRWAN 1300. Pin 14 TX Pin 13 RX.
I am kind of a noob but how do I get the printf to work? Will including ArdiunoSTL.h work?
Also I get this error... 'bbTfmp' was not declared in this scope.

Any help would be greatly appreciated.

Thanks!

Sorry. The call to bbTfmp was incorrect. I have corrected the example code.
Download 'printf.h' from somewhere and include it in your sketch folder.
If you can wait until tomorrow, I will include 'printf.h' with the example code.
I'm not familiar with the MKR WAN 1300, but I understand that pins 13 & 14 are addressed as Serial1 so the example code should work for you.
Feel free to email me directly at < bud@budryerson.com >.
Remember - I'm new at this too.

Thanks for the quick response and for your work on this repo!
Now I think the issue is with the SAMD 21 micro controller and fprint.
Error: 'fdevopen' was not declared in this scope
I will keep digging...