While I'm at it, it would be very helpfull to have example code for the ADC, DAC and CAN bus. I'm using the OLIMEX P2378 dev board.
Great product BTW really enjoying getting to grips with it. Many Thanks
![Smile :)](./images/smilies/icon_e_smile.gif)
For examples see the discussion reading status inport in the Development Boards section of this forum:Simon wrote:Hi, please could you show me a code example for testing the state of a single input pin?
The Led7ADC example included in all editions of Astrobe displays a number in the range 0 to 9 relative to the rotation of a potentiometer connected to an ADC channel. It displays the reading as a single digit on a 7-segment LED that is connected directly to GPIO pins. Both of these devices are on the EA LPC2103 Education Board - I can't see anything similar already on the P2378 board so you would need to connect it up to something similar yourself if you wanted to adapt that example.While I'm at it, it would be very helpfull to have example code for the ADC, DAC and CAN bus. I'm using the OLIMEX P2378 dev board.
Pleased to hear itGreat product BTW really enjoying getting to grips with it. Many Thanks