el 05-27-2023 06:27 AM
hola, an 18f4550 microcontroller that sends this frame through another apc220:
printf("dat:%4Lu %Lu %5.2f %5.2f %5.2f\r",vdc,pulse,accumtotal,accumtotal5,accumtotal2);
el 05-27-2023 06:35 AM
el 05-27-2023 06:36 AM
with the soft Hercules, I receive perfectly...
05-27-2023 07:12 AM - editado 05-27-2023 07:13 AM
@jabognz wrote:
hola, an 18f4550 microcontroller that sends this frame through another apc220: printf("dat:%4Lu %Lu %5.2f %5.2f %5.2f\r",vdc,pulse,accumtotal,accumtotal5,accumtotal2);
Biggest thing here is that your termination character is a Carriage Return. With that information, see if this code works for you.
el 05-27-2023 07:41 AM
ok....
el 05-27-2023 07:53 AM
no, lamentablemente no recibe...
el 05-30-2023 12:15 PM
Lo he solucionado, el problema estaba en el hardware. El apc220 tiene un terminal de "enable", con solo conectar +5 vdc en ese terminal comence a recibir datos perfecamente.- MUCHAS GRACIAS A TODOS LOS QUE RESPONDIERON A MI PEDIDO DE AYUDA....!!!!!!!!!