Mercurial > hg > beaglert
comparison examples/d-box/render.cpp @ 373:3bed6b09223c prerelease
Updated NE10 library to the latest version; needs a corresponding update to the /usr/include/ne10 header files on the SD image. Updated examples to compile against new version, and reordered D-Box channels to account for new PRU-based DAC channel reordering.
author | andrewm |
---|---|
date | Thu, 09 Jun 2016 20:03:09 +0100 |
parents | 421a69d42943 |
children |
comparison
equal
deleted
inserted
replaced
372:db2fe4e1b88e | 373:3bed6b09223c |
---|---|
20 | 20 |
21 #undef DBOX_CAPE_TEST | 21 #undef DBOX_CAPE_TEST |
22 | 22 |
23 // Mappings from pin numbers on PCB to actual DAC channels | 23 // Mappings from pin numbers on PCB to actual DAC channels |
24 // This gives the DAC and ADC connectors the same effective pinout | 24 // This gives the DAC and ADC connectors the same effective pinout |
25 #define DAC_PIN0 6 | 25 // Update June 2016: this is no longer needed in the latest Bela |
26 #define DAC_PIN1 4 | 26 // release, but is kept here for convenience: it used to be |
27 // 6 4 2 0 1 3 5 7 for the DAC pins | |
28 #define DAC_PIN0 0 | |
29 #define DAC_PIN1 1 | |
27 #define DAC_PIN2 2 | 30 #define DAC_PIN2 2 |
28 #define DAC_PIN3 0 | 31 #define DAC_PIN3 3 |
29 #define DAC_PIN4 1 | 32 #define DAC_PIN4 4 |
30 #define DAC_PIN5 3 | 33 #define DAC_PIN5 5 |
31 #define DAC_PIN6 5 | 34 #define DAC_PIN6 6 |
32 #define DAC_PIN7 7 | 35 #define DAC_PIN7 7 |
33 | 36 |
34 #define ADC_PIN0 0 | 37 #define ADC_PIN0 0 |
35 #define ADC_PIN1 1 | 38 #define ADC_PIN1 1 |
36 #define ADC_PIN2 2 | 39 #define ADC_PIN2 2 |