Jump to content

bjorn

Members
  • Gesamte Inhalte

    6
  • Benutzer seit

  • Letzter Besuch

Alle erstellten Inhalte von bjorn

  1. I'm really starting to regret using Tinkerforge for this project.. Tinkerforge is really easy to use, and is working quite well, but there is some really annoying things that is making this project much more complicated than just using an Arduino with a steppermotor controller. That you are saying is a kind of sollution to get around the problem, but that makes the project even more complex. Maybe it's possible to just run a second thread that is monitoring the state of the parent thread. I'm programming everything in C, so there is a lot of other things I can do with this.. Thank you for your answer. I thought I was going crazy because I didn't find any answer to this problem :)
  2. Thank you! I will try this later. I gotta say that tinkerforge documents isnt very helpful about this. For the most part, they just say that "the easiest way is to use brickviewer" :)
  3. Is there a way to update the stepper value of the stepper motor? I want the stepper motor to stop moving if the program crashes or is stopped without stopping the stepper motor. I'm currently using the "drive_forward" commands, but in this case, the stepper motor continues to move if the user quits the program, or if it crashes. But it seems impossible to continously feed the stepper controller with new positions when using target position, or set steps. It ignores set_steps and _target_position if it still has steps left. The only way i've found is to completely stop the motor, and put steps into it again. Is there another way? regards
  4. found out what's wrong. I needed to include gcc-libs in my dll in order to be able to include it on another machine.
  5. Is there a way to read the UID of a device without knowing the UID of the device? I can only get an answer when calling the function _get_identity AFTER i already connected to the brick using _create. And in "create" i need the UID
  6. I'm trying to make a DLL that controls a tinkerforge bricklet. Everything works fine on my machine when testing the soft/hardware, but it doesn't work on the main computer that is supposed to have the dll. Ive installed both brickviewer and brickdaemon on that computer, and brickviewer is able to control the bricklets without problems. But when trying my application, it says it cannot locate api-ms-core-*.dll (a lot of them) They all is installed in system32/downlevel and some other places on my computer, and same on the other computer. The strange thing is that on my computer, with brickv version 2.4.21, all these dlls is installed in the brickv folder, but on 2.4.22, it is not. It also didn't help adding system32/downlevel to the path.
×
×
  • Neu erstellen...