Mercurial > hg > beaglert
diff examples/d-box/render.cpp @ 375:768acdeea362 prerelease
Merge
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 10 Jun 2016 00:35:18 +0100 |
parents | 3bed6b09223c |
children |
line wrap: on
line diff
--- a/examples/d-box/render.cpp Fri Jun 10 00:02:48 2016 +0100 +++ b/examples/d-box/render.cpp Fri Jun 10 00:35:18 2016 +0100 @@ -22,13 +22,16 @@ // Mappings from pin numbers on PCB to actual DAC channels // This gives the DAC and ADC connectors the same effective pinout -#define DAC_PIN0 6 -#define DAC_PIN1 4 +// Update June 2016: this is no longer needed in the latest Bela +// release, but is kept here for convenience: it used to be +// 6 4 2 0 1 3 5 7 for the DAC pins +#define DAC_PIN0 0 +#define DAC_PIN1 1 #define DAC_PIN2 2 -#define DAC_PIN3 0 -#define DAC_PIN4 1 -#define DAC_PIN5 3 -#define DAC_PIN6 5 +#define DAC_PIN3 3 +#define DAC_PIN4 4 +#define DAC_PIN5 5 +#define DAC_PIN6 6 #define DAC_PIN7 7 #define ADC_PIN0 0