Changes between Version 11 and Version 12 of expansion/gw16113


Ignore:
Timestamp:
11/06/2018 11:29:27 PM (5 years ago)
Author:
Cale Collins
Comment:

added LED control.

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16113

    v11 v12  
    445445  * the value of 0x00005555 indicates that P12.0,2,4,6 cooresponding to J1.1,3,5,7 are reading high (these are inputs per the gpiodir setting above) and P3.0,2,4,6 cooresponding to J2.1,3,5,7 are outputing logic high
    446446
     447LED control:
     448 * Set correct direction and turns D7 and D8 on
     449{{{
     450gwsoc gpiodir=0x000000000
     451gwsoc gpio=0x000000000
     452}}}
     453 * Turns off
     454{{{
     455gwsoc gpio=0xc0000000
     456}}}
     457 * Illuminate only D8
     458{{{
     459gwsoc gpio=0x80000000
     460}}}
     461 * Illuminate only D7
     462{{{
     463gwsoc gpio=0x80000000
     464}}}
    447465
    448466[=#gwsoc-building]