I'm kinda noobish with both Arduino and LabView so I'm sorry if I ask something stupid. Basically I need a variable frequency PWM output from Arduino Uno so to do that I need to write to a few registers (TCCR1B/A, OCR1B/A, TCNT1) and set output (pinmode()). From what I gather LINX doesn't have such functionality and the Duty Cycle block isn't fitting. I see there's a Custom CMD block but I'm not sure how to use it in LabView and how to generate code for it and the official tutorials seem to be deleted (or at least I can't access them). So, basically commands look for example like this (in C code):
TCCR1B = 0x18;
OCR1A = (int) (200);
And I'd like to have a codeblock I can feed a few values (it will have to be in the form of an array from what I gather but that's not a problem), git a button and let it upload the values. Any help will be greatly appreciated, thank you in advance
Did you look into the github repo for LINX? https://github.com/MakerHub/LINX
There may be a few hints or others you can hook up with that may have some answers. I do struggle to find documentation now as well. The youtube channels are still active.
Also I just stumbled upon this: https://www.youtube.com/watch?v=DGTbRQR-x_4
Hi, I managed to dig through the web archive you linked and finally found a simple tutorial for custom commands here http://web.archive.org/web/20201029172546/https://www.labviewmakerhub.com/doku.php?id=learn:tutorial... (leaving the link if anyone stumbles upon this) . It's not as extensive as I thought it would be but seems like it's a good headstart and should be enough to accomplish my goal. Thank you