![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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.
Diff: mbed_system_osc.h
- Revision:
- 0:439354122597
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_system_osc.h Wed Mar 17 03:17:38 2010 +0000 @@ -0,0 +1,34 @@ +/* + * 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