Jump to content

eccornelsen

Members
  • Gesamte Inhalte

    6
  • Benutzer seit

  • Letzter Besuch

Posts erstellt von eccornelsen

  1. thanks borg,

     

    I followed the instructions that you suggested and it's working now.

    I've created a project folder with the files below:

    1) example_project/

    -> ip_connection.cpp

    -> ip_connection.h

    -> brick_master.cpp

    -> brick_master.h

    -> bricklet_temperature_v2.cpp

    -> bricklet_temperature_v2.h

    -> example_callback.cpp

     

    2) update #define UID with the UIDs from the brick and the bricklet.

     

    3) from cmd:

    gcc -o example.exe *.cpp -lws2_32 -ladvapi32

     

    Any ideas on the next steps?

     

    kind regards,

    Erik

  2. Hi borg,

     

    thanks for the feedback.

    I got the parts and connected them together.

     

    In the Brick viewer I can see the live Temperature evolution over the time.

     

    I'm new to C++, how can I use the binding functions that you mentioned?

    Do I have to use the Makefile?

    I can compile the code but there's an error when I try to link (build) it.

     

    thanks in advance,

    Erik

×
×
  • Neu erstellen...