Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/02/2016, 18:49
REHome
 
Fecha de Ingreso: mayo-2007
Ubicación: PIC-16F84A
Mensajes: 727
Antigüedad: 17 años
Puntos: 8
Respuesta: Enviar tramas de bytes en C++/CLR

Código C++:
Ver original
  1. array<Byte>^mBuffer = Encoding::ASCII->GetBytes("ACTUALIZAR"); // Envía comando ACTUALIZAR por el puerto.
  2.                 serialPort1->Write(mBuffer, 0, mBuffer->Length);
__________________
Meta Shell, VERSIÓN 1.2.2
Descargar