title: Win Iot and RS485 switch between sending and recieving
body: <p>After the good help I got with my last question I have to ask another one.</p>
  
  <p>I'm currently trying to communicate with a Microcontroller over a UWP app.
  I already got the code working which sends the data.</p>
  
  <p>I took the same code which I used for a RS232 project I worked on parallel to this one.</p>
  
  <p>Now the problem is that I can't recieve any data that is sent back to me.</p>
  
  <p>Edit:</p>
  
  <p>I found the solution to my problem...</p>
  
  <p>I didn't recieve any answer because on my microcontroller I had a problem with the port I used to activate the sending function of my RS485 chip. Whenever I sent data it never switched to dending because my Pin had a problem. So I changed my Pin and now everything works well.</p>
  
  <p>On the microcontroller I hace to switch between sending and recieving by sending a signal to the RS485 driver (MAX485).
  Since I have the same driver on my IoT device I probably have to do the same here?
  But since I find the documentary microsoft provides rather chaotic and not really clear (at least for me) I can't really find any way to achieve that...</p>
  
  <p>Does anyone have an idea to achieve that?</p>
  
  <p>For reference:
  IoT Device: Raspberry Pi 3
  µC: ATmega8 programmed with AVRco (because we use that at work...)</p>