Re: ADC problems Kategorie: Programmierung C (von Bram Vooys - 30.07.2016 19:35) | |
| |
Hello there, I only get characters return and not (hex) decimal characters ? Help? void main(void) { int ADC_Value; Serial_Init(0,SR_8BIT|SR_1STOP|SR_NO_PAR,SR_BD9600); while (true) { ADC_Set(0x40,0); ADC_Value = (ADC_Read()); Serial_WriteText(0,"AD0 = "); Serial_Write(0,ADC_Value); Serial_WriteText(0,":"); Serial_Write(0,CR); AbsDelay(100); } } Bram | |
Antwort schreiben Antworten: Re: ADC problems (von Tobias - 30.07.2016 23:13) |
Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum