CMD A VALA B VALB
0000 0000 0000 0000 0000 0000 0000 0000
\ / \ / \ / \ / \ / \ /
SET DIO 5 VAR 4 ignored
- A,B are one of DIO, AO, PWM, TMR, user variable, value
| <p><span style="font-family: 'Gotham SSm A', 'Gotham SSm B'; font-size: 30px; line-height: 30px;">Overview</span><span style="font-family: 'Gotham SSm A', 'Gotham SSm B';"><br></span></p><p><span style="font-family: 'Gotham SSm A', 'Gotham SSm B';">In this tutorial, you will learn how to control an external LED using a BeagleBone Black (BBB) using Bonescript.</span><br></p><p><span style="font-family: 'Gotham SSm A', 'Gotham SSm B';"><img src="https://learn.adafruit.com/system/assets/assets/000/009/102/medium800/beaglebone_overview.jpg?1396883186" style="width: 204px;"><br></span></p><p><span style="font-family: 'Gotham SSm A', 'Gotham SSm B';"><br></span></p> |
| http://slic3r.org/download | |
| http://www.hoektronics.com/2013/05/05/compiling-slic3r-on-raspberry-pi/ | |
| Building and testing Math-PlanePath-116 ... FAIL | |
| ! Installing Math::PlanePath failed. See /root/.cpanm/build.log for details. | |
| Moo is up to date. (1.005000) | |
| --> Working on Wx | |
| Fetching http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-0.9923.tar.gz ... OK | |
| Configuring Wx-0.9923 ... OK | |
| ==> Found dependencies: Test::Harness |
| /*instruction set encoding */ | |
| #define NOP 0 | |
| /*SET RES[x], y - IO operations*/ | |
| #define SET_DIO_a 1 | |
| #define SET_DIO_b 2 | |
| #define SET_DIO_c 3 | |
| #define SET_PWM_a 4 | |
| #define SET_PWM_b 5 | |
| #define SET_PWM_c 6 |
| #!/bin/bash | |
| export LC_ALL="C" | |
| dpkg-reconfigure locales | |
| locale-gen |
| var b = require('bonescript'); | |
| b.pinMode("P8_12", b.INPUT); | |
| setInterval(check,100); | |
| function check() { | |
| b.digitalRead(pin, checkButton); | |
| } | |
| function checkButton(x) { | |
| if (x.value == 1) { |
| BR2_HAVE_DOT_CONFIG=y | |
| BR2_ARCH_IS_64=y | |
| BR2_x86_64=y | |
| BR2_ARCH="x86_64" | |
| BR2_ENDIAN="LITTLE" | |
| BR2_GCC_TARGET_ARCH="nocona" | |
| BR2_ARCH_HAS_ATOMICS=y | |
| BR2_X86_CPU_HAS_MMX=y | |
| BR2_X86_CPU_HAS_SSE=y | |
| BR2_X86_CPU_HAS_SSE2=y |
| root@localhost:/home/ubuntu/ros-tutorials# ./build.sh | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| build-essential is already the newest version. | |
| wget is already the newest version. | |
| 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. | |
| deb http://packages.ros.org/ros/ubuntu vivid main | |
| --2015-01-29 14:41:29-- https://raw.githubusercontent.com/ros/rosdistro/master/ros.key | |
| Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.43.133 |
| CC := clpru | |
| LD := lnkpru | |
| HEXBIN := hexpru | |
| SWDIR = /usr/share/pru_am335x_starterware | |
| CGTDIR = /usr/share/ti/cgt-pru | |
| INCLUDEDIR = -I$(SWDIR)/include -I$(SWDIR)/include/hw -I$(SWDIR)/include/pru -I$(CGTDIR)/include | |
| LIBDIR = -i$(SWDIR)/lib -i$(CGTDIR)/lib |
| U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54) | |
| reading args | |
| spl_load_image_fat_os: error reading image args, err - -1 | |
| reading u-boot.img | |
| reading u-boot.img | |
| U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54) | |
| I2C: ready |