91 if (Serial.available())
94 if (user_command !=
'm')
95 Serial.println(user_command);
103 Serial.println(F(
"Incorrect Option"));
115 Serial.print(F(
"\n*****************************************************************\n"));
116 Serial.print(F(
"* Sandbox Demonstration Program *\n"));
117 Serial.print(F(
"* *\n"));
118 Serial.print(F(
"* Set the baud rate to 115200 and select the newline terminator.*\n"));
119 Serial.print(F(
"* *\n"));
120 Serial.print(F(
"*****************************************************************\n"));
127 Serial.print(F(
"\n 1-Command\n"));
128 Serial.print(F(
"\nEnter a command:"));
unsigned char user_command
LTC SMBus Support: API for a shared SMBus layer.
LTC SMBus Support: Implementation for a shared SMBus layer.
LTC SMBus Support: Implementation for a shared SMBus layer.
static void print_title()
Prints the title block when program first starts.
Header File for Linduino Libraries and Demo Code.
static void print_prompt()
Prints main menu.
TwoWire.h - TWI/I2C library for Arduino & Wiring Copyright (c) 2006 Nicholas Zambetti.
LT_I2CBus: Routines to communicate to I2C by Wire Library.
static LT_I2CBus * i2cbus
static void setup()
Initialize Linduino.
LTC SMBus Support: Implementation for a shared SMBus layer.
virtual LT_I2CBus * i2cbus(void)=0
static void loop()
Repeats Linduino loop.
LTC PMBus Support: Math conversion routines.
LTC SMBus Support: Implementation for a shared SMBus layer.