当前位置:主页 > 资料 >

Eclipse Mita – A New Programming Language for the Embedded
栏目分类:资料   发布日期:2018-08-02   浏览次数:

导读:本文为去找网小编(www.7zhao.net)为您推荐的Eclipse Mita – A New Programming Language for the Embedded IoT,希望对您有所帮助,谢谢! Eclipse Mita is a programming language that is focused on making Internet-Of-Thing

本文为去找网小编(www.7zhao.net)为您推荐的Eclipse Mita – A New Programming Language for the Embedded IoT,希望对您有所帮助,谢谢!

本文来自去找www.7zhao.net



去找(www.7zhao.net欢迎您

Eclipse Mita is a programming language that is focused on making Internet-Of-Things things easier to program, especially for developers without an embedded development background. It aims to increase programmer productivity, enables fast exploration of use-cases and tries to make you feel right at home on an embedded device.

本文来自去找www.7zhao.net

package demo;
import platforms.xdk110;

setup smartphone : BLE {
    deviceName = "HelloWorld";
    var shockDetected = bool_characteristic(UUID=0xCAFE);
}

every accelerometer.activity {
    if(accelerometer.magnitude.read() > 5000) {
        smartphone.shockDetected.write(true);
    }
} 
本文来自去找www.7zhao.net

These ten lines above implement a Bluetooth-enabled shock detector. In Mita you don’t have to setup things on your system, everything ships with sensible defaults. You can directly react to events generated by sensors, connectivity (e.g. Bluetooth or WLAN) and time itself. Its syntax was designed to make you feel right at home.

copyright www.7zhao.net

去找(www.7zhao.net欢迎您


本文原文地址:http://www.eclipse.org/mita/

以上为Eclipse Mita – A New Programming Language for the Embedded IoT文章的全部内容,若您也有好的文章,欢迎与我们分享!

内容来自www.7zhao.net

Copyright ©2008-2017去找网版权所有   皖ICP备12002049号-2 皖公网安备 34088102000435号   关于我们|联系我们| 免责声明|友情链接|网站地图|手机版