I have checked out the C++ example referenced in other threads, but was hoping to see an example in C.
When learning the specific initializations/ports/etc it is nice to see it all in one declaration in one file.
Does anyone have such a program? I am looking to get the motor control sorted first.
Pololu folks,
Don’t you have a test program that you use to verify that the board with hbridge is functioning before you ship them out? I really want to be sure that board is not defective, specifically the hbridge.
It’s good to hear that you solved your problem. Someone here (usually me) looks at the forum once in a while. Easy questions get answered more quickly; debugging someone else’s code can take a lot of time. In general, you’re more likely to get a good response if you trim your code to the minimal case that demonstrates the problem.
My original question had nothing to do with debugging code. A simple, “no, we don’t have any C based test programs” would have been sufficient. Even now I have not received a reply to that question…
I wouldn’t even mind an assembler example.
It is odd that you sell a controller board with basic features, yet you don’t provide a simple program to explain how it is used to help speed the use of the board. The C++ example is cool, but I find it is not the best language to understand the registers, as everything is so indirect.
I think your customers will have more success if you go a little farther and help them start using your orangutan controller boards.
I find the manufacturing quality excellent, the price great, but the support lacking.
Thanks for your feedback; we know the Orangutan support needs to improve, and we are working on it.
(Given your original post, I feel that my reply was reasonable. “No, we don’t have any C-based test programs” would not have helped at all on what looked like your bigger concern regarding an H-bridge failure. Even if the test program used PWM (it doesn’t, and I didn’t have access to the source code at the time), testing full on power is a good first step.)
When you do finish a project using the Baby Orangutan, it would be great if you could post a link!