Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 11 months ago.
32f401 pa9 and pa10 doesn't work?
I tried following code on stm32f401 and theres no signal on ossiloscope. Anyone experiencing similar problem with PA_9 and PA_10?
#include "mbed.h"
RawSerial rf(PA_9, PA_10);
int main ()
{
rf.baud(9600);
while(1) {
rf.puts("HELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLO");
wait_ms(300);
/*
wait(1);
rf.putc(0x55);
wait(1);
rf.putc(0x55);
wait(1);
*/
}
}
Question is obsolete. My mistake....
posted by Kamil M 14 Mar 2016