Code Samples

Blinking LEDs – manipulating digital GPIOs on the Intel® Galileo board with the IoT Development Kit

This sample code uses the Live USB image from the IoT Development Kit to run a host system that can control an Intel® Galileo board using Yocto Application Development Tools and Eclipse*. This sample assumes the Intel Galileo board is booted using the SD Image, which is also available in the IoT Development Kit. It is possible to use this code directly on the board, but that’s a topic for a future paper.

  • Developers
  • Internet of Things
  • Intel IoT
  • Internet of Things
  • Introduction to OpenMP* on YouTube

    Tim Mattson (Intel), has authored an extensive series of excellent videos as in introduction to OpenMP*. Not only does he walk through a series of programming exercises in C, he also starts with a background introduction on parallel programming.

    Check out the series: https://www.youtube.com/watch?v=nE-xN4Bf8XI&list=PLLX-Q6B8xqZ8n8bwjGdzBJ25X2utwnoEG&index=27

    Burglar Alarm 使用英特尔® Galileo 开发板

    开发该范例应用的目的是为了如何针对英特尔® Galileo 开发板使用近距离传感器。 在示例中,如果任意物体出现在距近距离传感器 3 厘米的范围内,系统将发出警报且 LED 持续闪烁,直到物体离开该范围。

    该示例代码使用物联网 (IoT) 开发套件的 Live USB 映像运行主机系统,后者可以借助 Yocto 应用开发工具和 Eclipse* 将草图推送至英特尔® Galileo 开发板。

    本文将做出以下假设:

    • 英特尔® Galileo 开发板借助 SD 映像启动,并可用于 IoT 开发套件。
    • 读者了解如何借助 Eclipse 插件构建 C 程序,以及如何将代码推送至开发板。

    硬件要求:

  • Developers
  • Internet of Things
  • Intel IoT
  • Internet of Things
  • Sparse Procedural Volumetric Rendering

    Download Source Code ZIPfile

    Sparse Procedural Volumetric Rendering (SPVR) is a technique for rendering real-time volumetric effects. We’re excited that the upcoming book “GPU Pro 6” will include an SPVR chapter. This document gives some additional details.

  • Developers
  • Microsoft Windows* 8.x
  • Game Development
  • Windows*
  • C/C++
  • Intermediate
  • GameCodeSample
  • Sparse Procedural Volumetric Rendering
  • SPVR
  • metavoxel
  • ray marching
  • Creación de juegos multiplataforma con Cocos2d-x

    In this tutorial how to create a simple game using the Cocos2d-x framework in a Windows development environment and how to compile it to run on Windows 8 and Android.
  • Developers
  • Partners
  • Professors
  • Students
  • Android*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • Android*
  • Windows*
  • C/C++
  • Beginner
  • cocos2d-x
  • mobile game development
  • Exact exception propagation(exception_ptr) in the Intel® Threading Building Blocks (Intel® TBB) library and C++11

    Exceptions and multithreading in C++03 and C++11

    Multithreading is not uncommon these days, nor is using exceptions for error handling. So a user of the Intel® Threading Building Blocks (Intel® TBB) library may reasonably expect that exceptions raised during execution of a parallel algorithm are transferred to the master thread and thrown from a call to parallel algorithm function.

    For example, given a code throwing the my_error exception:

    Subscribe to Code Samples