Control of mbed using OSC. Based on code from the Make Controller. Right now you can turn the onboard LEDs on/off and toggle 8 digital out pins. More I/O will be done in the future.

Dependencies:   mbed

mbed_system_osc.h

Committer:
pehrhovey
Date:
2010-03-17
Revision:
0:439354122597

File content as of revision 0:439354122597:

/*
 * Pehr Hovey
 *
 * mBed OSC - SystemOsc subsystem
 * Get/set info about the system like ip address, hostname
 * Based on code from Make Controller
 */
 /*********************************************************************************

 Copyright 2006-2009 MakingThings

 Licensed under the Apache License,
 Version 2.0 (the "License"); you may not use this file except in compliance
 with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software distributed
 under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 CONDITIONS OF ANY KIND, either express or implied. See the License for
 the specific language governing permissions and limitations under the License.

*********************************************************************************/
#ifndef MBED_SYS_OSC_
#define MBED_SYS_OSC_
//OSC Subsystems

int SystemOsc_ReceiveMessage( int channel, char* message, int length );
const char* SystemOsc_GetName( void );
int SystemOsc_PropertySet( int property, char* typedata, int channel );
int SystemOsc_ReceiveMessage( int channel, char* message, int length );
int SystemOsc_PropertyGet( int property, int channel );

#endif