view service/piNode/config/main.n3 @ 1431:af2d0249a2cc

wip for pytype support and separate device run loops on piNode Ignore-this: 9aa9a3a7e715afefbc858050e02c4c62 darcs-hash:998d048d88b8cbc9e5fcd7576dec8687a9960e8c
author drewp <drewp@bigasterisk.com>
date Sat, 10 Aug 2019 23:33:50 -0700
parents 4f89d130a3fe
children
line wrap: on
line source

@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
@prefix :         <http://projects.bigasterisk.com/room/> .
@prefix order:    <http://projects.bigasterisk.com/room/ledColorOrder/> .
@prefix ha:       <http://bigasterisk.com/homeauto/> .
@prefix sensor:   <http://bigasterisk.com/homeauto/sensor/> .
@prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> .


@prefix boardTest: <http://bigasterisk.com/homeauto/boardTest/pin/> .

ha:node10 a :PiBoard;
  :hostname "xbang";  :hasPin boardTest:GPIO18 .

boardTest:GPIO18 :gpioNumber 18; :connectedTo :testRgb .
:testRgb a :RgbPixels;
  :colorOrder order:GRB;
  :pixelGroup :testStatus, :testStrip .

:testStatus
  :startIndex 0;
  :endIndex 0;
  :src "rainbow.png";
  :x 0;
  :y 0;
  :height 1;
  :interpolate :slide;
  :rate 30 . # px/sec
:testStrip
  :startIndex 1;
  :endIndex 50;
  :src "rainbow.png";
  :x 0;
  :y 0;
  :height 50;
  :interpolate :slide .