AtMega1284 pin assignment. if i *use say pin 1 on the AtMeg1284 for FastLED

AtMega1284 pin assignment.

if i *use say pin 1 on the AtMeg1284 for FastLED

#define DATA_PIN 1
FastLED.addLeds<LED_TYPE, DATA_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalLEDStrip);

which physical pin is it mapped to??

Scratching my head here.

[edit]

i should have added, i’d expect to to the LED output on PB1 aka physical pin 2, for the given example.

  • arbitrarily chosen for this question.

The pin layouts are done assuming one of the adapter boards, however I have to warn you, the Atmega1284 isn’t terribly well supported by FastLED.

Here’s the 1284 mappings as defined:

_DEFPIN_AVR(0, 1<<0, D); _DEFPIN_AVR(1, 1<<1, D); _DEFPIN_AVR(2, 1<<2, B); _DEFPIN_AVR(3, 1<<3, B);
_DEFPIN_AVR(4, 1<<0, B); _DEFPIN_AVR(5, 1<<1, B); _DEFPIN_AVR(6, 1<<2, D); _DEFPIN_AVR(7, 1<<3, D);
_DEFPIN_AVR(8, 1<<5, D); _DEFPIN_AVR(9, 1<<6, D); _DEFPIN_AVR(10, 1<<4, B); _DEFPIN_AVR(11, 1<<5, B);
_DEFPIN_AVR(12, 1<<6, B); _DEFPIN_AVR(13, 1<<7, B); _DEFPIN_AVR(14, 1<<7, A); _DEFPIN_AVR(15, 1<<6, A);
_DEFPIN_AVR(16, 1<<5, A); _DEFPIN_AVR(17, 1<<4, A); _DEFPIN_AVR(18, 1<<3, A); _DEFPIN_AVR(19, 1<<2, A);
_DEFPIN_AVR(20, 1<<1, A); _DEFPIN_AVR(21, 1<<0, A); _DEFPIN_AVR(22, 1<<0, C); _DEFPIN_AVR(23, 1<<1, C);
_DEFPIN_AVR(24, 1<<2, C); _DEFPIN_AVR(25, 1<<3, C); _DEFPIN_AVR(26, 1<<4, C); _DEFPIN_AVR(27, 1<<5, C);
_DEFPIN_AVR(28, 1<<6, C); _DEFPIN_AVR(29, 1<<7, C); _DEFPIN_AVR(30, 1<<4, D); _DEFPIN_AVR(31, 1<<7, D);

For example, pin 0 is on D0, pin 1 is on D1, however pin 2 is on B2, and so forth.

Thanks @Daniel_Garcia

That mapping makes sense, its a logical layout.
I’m getting debug output on serial which suggests that FastLED is running, I’m just not seeing output.

I’m taking the kids out for the day now, so I’ll get the scope out later and have a look see.