From bb53e1f4c48a062d822aecbe02694dc5959faa30 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 20 Jun 2012 00:34:41 +0000 Subject: adc sampling starts now via timer1 and ccp4 (less jitter) some cleanup git-svn-id: https://svn.spreadspace.org/mur.sat@541 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/idm-test/idm-test.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'software/idm-test') diff --git a/software/idm-test/idm-test.c b/software/idm-test/idm-test.c index 89363e6..d725691 100644 --- a/software/idm-test/idm-test.c +++ b/software/idm-test/idm-test.c @@ -43,7 +43,7 @@ /* Global I/O Buffers: */ static RingBuffer_t SPItoUSB_Buffer; -static uint8_t SPItoUSB_Buffer_Data[8]; +static uint8_t SPItoUSB_Buffer_Data[64]; /** LUFA CDC Class driver interface configuration and state information. This structure is * passed to all CDC Class driver functions, so that multiple instances of the same class @@ -132,18 +132,17 @@ void IDM_ReadData(void) _delay_us(100); SPI_SendByte('r'); - _delay_us(50); + _delay_us(30); uint8_t int_state = (INT_PIN & (1<