Gosub itofb 'Conviertelo en punto flotanteīint = 52224 'Carga el valor de la cuenta maxima del ADC * 51 Gosub itofa 'Conviertelo a punto flotante LCDOUT $FE,$C0," JOSE LUIS COMAS LL " '2_lineĪDCIN 1, B1 'read negativ via chanal_1_ADCĪDCIN 2, B2 'read positiv via chanal_2_ADC LCDOUT $FE,2," FUENTE SIMETRICA " '1_line Include "fp2032.bas" ' Include file for 14-bit core with RAM at $20 (32-bit) _config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_ON & _CPD_ON If someone could please review the code and correct it, I would appreciate it and thank you I am in a symmetrical source project with pic 16f886, but in the proteus simulation the voltage values displayed on a 20x4 lcd, and these values are different from the registers in the proteus dc voltmeters.Īnd the negative voltage displayed on the 20x4 lcd is displayed very fast.Īnd the positive voltage displayed on the 20x4 lcd is displayed normal
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |