Jump to content
43oh

tsh

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. Thanks - that was enough to help me realise that the peripheral enable needed changing for GPIOB too. Analogue in next... Obviously I've not tried it yet, but the freescale examples look pretty trivial: #include "mbed.h" Serial device(p9, p10); // tx, rx int main() { device.baud(19200); device.printf("Hello World\n"); } and I need to use 'PTD2, PTD3' rather than 'p9, p10' for the pins. All from one page of the online documentation.
  2. Energia seems to be able to handle it. (assuming it will build from git) The comment in uart_echo.c about "viral" open source software really didn't set the right tone to start off with either. If I'm using a MCU dev board, I don't expect to have to spend hours setting up pins unless I want to use some uncommon configuration. I'd rather pay another £20 for better software, and do something more productive with the time. In this space, the MCU is glue logic - or it ought to be.
  3. The only example I found in Stelarisware was Uart0. I tried changing all the uart0 for uart1, but obviously missed something... I was kind of dismayed that there was no simple parameter to chose which uart.
  4. Very basic question, but I've wasted so much time on this that I have already ordered a Freescale dev board since the Mbed platform looks so much easier to use... All I need is a uart at 9600 baud, on pins other than the ones connected to the debug host so I can connect a bluetooth module. Wherever people have posted examples, they seem to be of code which doesn't work (asking for help). I just need a working example... I don't really need a whole new framework, but maybe energia is worth downloading, if it's not going to burn up another few hours - but which pins are used for serial ther
×
×
  • Create New...