From cfb35b24edf684232d1773e30a8e49d42df46195 Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Sat, 30 May 2015 10:15:41 +0100 Subject: [PATCH] simavr: Fixed mega250 pinouts for arduidiots Referenced their headers Signed-off-by: Michel Pollet --- examples/shared/arduidiot_pins.c | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/examples/shared/arduidiot_pins.c b/examples/shared/arduidiot_pins.c index 32cb9bd..4c44cc1 100644 --- a/examples/shared/arduidiot_pins.c +++ b/examples/shared/arduidiot_pins.c @@ -74,8 +74,8 @@ ardupin_t arduidiot_2560[] = { PIN(11, 'B', 5), PIN(12, 'B', 6), PIN(13, 'B', 7), -// PIN(14, 'H', 4), -// PIN(15, 'H', 4), + PIN(14, 'J', 1), + PIN(15, 'J', 0), PIN(16, 'H', 1), PIN(17, 'H', 0), @@ -113,22 +113,22 @@ ardupin_t arduidiot_2560[] = { PIN(52, 'G', 1), PIN(53, 'G', 0), - ADC(64, 'F', 0), - ADC(65, 'F', 1), - ADC(66, 'F', 2), - ADC(67, 'F', 3), - ADC(68, 'F', 4), - ADC(69, 'F', 5), - ADC(70, 'F', 6), - ADC(71, 'F', 7), - ADCL(72, 'K', 0, 8), - ADCL(73, 'K', 1, 9), - ADCL(74, 'K', 2, 10), - ADCL(75, 'K', 3, 11), - ADCL(76, 'K', 4, 12), - ADCL(77, 'K', 5, 13), - ADCL(78, 'K', 6, 14), - ADCL(79, 'K', 7, 15), + ADC(54, 'F', 0), + ADC(55, 'F', 1), + ADC(56, 'F', 2), + ADC(57, 'F', 3), + ADC(58, 'F', 4), + ADC(59, 'F', 5), + ADC(60, 'F', 6), + ADC(61, 'F', 7), + ADCL(62, 'K', 0, 8), + ADCL(63, 'K', 1, 9), + ADCL(64, 'K', 2, 10), + ADCL(65, 'K', 3, 11), + ADCL(66, 'K', 4, 12), + ADCL(67, 'K', 5, 13), + ADCL(68, 'K', 6, 14), + ADCL(69, 'K', 7, 15), }; struct avr_irq_t * -- 2.39.5