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, 10 months ago.
Putc with uLCD-24PTU
I have to write a LED digit, I wrote a program but it doesn't work. Can you help me ?
putc for uLCD-24PTU by workshop 4D
#include "mbed.h" #include "USBSerial.h" //Serial port pin assignment and setup Serial device(p27,p28); // tx, rx int main() { while (1) { device.putc(0x01); wait(1); device.putc(0x15); wait(1); device.putc(0x2); wait(1); device.putc(0x1); wait(1); device.putc(0x10); } }