Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Smoothie by
LcdBase.cpp
00001 #include "LcdBase.h" 00002 00003 #include "stdarg.h" 00004 #include "stdio.h" 00005 00006 LcdBase::LcdBase() {} 00007 LcdBase::~LcdBase() {} 00008 00009 int LcdBase::printf(const char* format, ...){ 00010 va_list args; 00011 va_start(args, format); 00012 char buffer[80]; // max length for display anyway 00013 int n= vsnprintf(buffer, sizeof(buffer), format, args); 00014 va_end(args); 00015 this->write(buffer, n); 00016 return 0; 00017 }
Generated on Tue Jul 12 2022 20:09:02 by
1.7.2
