Hi, I am currently making a program that will make use of the speaker on th L2300 board as an ongoing buzzing sound when a certain condition is true. I am struggling a little bit as to how to achieve that. I am aware that it is port 0 pin 26, but not sure how to call on it.
Do i need to call on DAC. I've read that the volume is controllable by the potentiometer, however i am using this for a different input, will it automatically sound at its loudest?
Many thanks
Sam
what L2300 board ?
Not sure, it says MCB2300 on it, but there seems to be 4 different types.
found it. LPC2368!
Anyone?
Please read the manual: http://www.keil.com/mcb2300/ ?
Sorry, but I was kind of expecting you to post a bit more information - things like what you have read. What you think you need to do based on the user manual. Things you have tried. What problems you have had while trying.
Right now, you are giving out a big mixed information.
You say P0 pin 26.
But pin 26 on the LPC2368 is P3.26, i.e. bit 26 of port 3.
P0.26 (bit 26 on port 0) is pin 6 on the LPC2368.
And the user manual describes the four possible functions for that pin. - GPIO port 0 bit 26 - AD0.3 (fourth analog input on ADC 0) - AOUT (analog out) - RXD3
So do you think you should use it for serial receive? Or analog in? Or GPIO? or Maybe as analog out?
If you guess analog out - have you then spent any time reading up on the Digital-toAnalog Converter (DAC) in the user manual? Where did you get stuck? What parts of the user manual is unclear?