Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Xmega ADCA 4 channel scan, free running mode
no vote
* MCU:           ATXmega128A1   * Development environment:          AVR Studio 4.18 build 716 * Description:          void ADCA_CH0_1_2_3_Sweep_Interrupt (void)          ADCA 4 channel scanning, free-running mode, CH2 low-level interrupt, the interrupt subroutine          Conversion result of the four channels is recorded into the array adcSamples [4] [10] In, USARTC0 printing          Output debugging information          void ADCA_CH0_1_2_3_Poll (void)          ADCA 4 channel scanning, free-running mode, polling the interrupt flag read the conversion results * / #include "avr_compiler.h" #include "usart_driver.c" #include "adc_dri
schk88
2016-08-23
0
1
No more~