R1 code for micro:bit based train controller code, requires second micro:bit running tx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of mbed-dev-bin by Lancaster University

Files at this revision

API Documentation at this revision

Comitter:
DavidMS
Date:
Tue May 23 10:42:56 2017 +0000
Parent:
3:768173a57492
Commit message:
First working micro:bit motor control rx code, need be run with matching tx code

Changed in this revision

AnalogIn.h Show annotated file Show diff for this revision Revisions of this file
AnalogOut.h Show annotated file Show diff for this revision Revisions of this file
BusIn.h Show annotated file Show diff for this revision Revisions of this file
BusInOut.h Show annotated file Show diff for this revision Revisions of this file
BusOut.h Show annotated file Show diff for this revision Revisions of this file
CAN.h Show annotated file Show diff for this revision Revisions of this file
CThunk.h Show annotated file Show diff for this revision Revisions of this file
CallChain.h Show annotated file Show diff for this revision Revisions of this file
CircularBuffer.h Show annotated file Show diff for this revision Revisions of this file
DigitalIn.h Show annotated file Show diff for this revision Revisions of this file
DigitalInOut.h Show annotated file Show diff for this revision Revisions of this file
DigitalOut.h Show annotated file Show diff for this revision Revisions of this file
DirHandle.h Show annotated file Show diff for this revision Revisions of this file
Ethernet.h Show annotated file Show diff for this revision Revisions of this file
FileBase.h Show annotated file Show diff for this revision Revisions of this file
FileHandle.h Show annotated file Show diff for this revision Revisions of this file
FileLike.h Show annotated file Show diff for this revision Revisions of this file
FilePath.h Show annotated file Show diff for this revision Revisions of this file
FileSystemLike.h Show annotated file Show diff for this revision Revisions of this file
FunctionPointer.h Show annotated file Show diff for this revision Revisions of this file
I2C.h Show annotated file Show diff for this revision Revisions of this file
I2CSlave.h Show annotated file Show diff for this revision Revisions of this file
InterruptIn.h Show annotated file Show diff for this revision Revisions of this file
InterruptManager.h Show annotated file Show diff for this revision Revisions of this file
LocalFileSystem.h Show annotated file Show diff for this revision Revisions of this file
LowPowerTicker.h Show annotated file Show diff for this revision Revisions of this file
LowPowerTimeout.h Show annotated file Show diff for this revision Revisions of this file
LowPowerTimer.h Show annotated file Show diff for this revision Revisions of this file
PortIn.h Show annotated file Show diff for this revision Revisions of this file
PortInOut.h Show annotated file Show diff for this revision Revisions of this file
PortOut.h Show annotated file Show diff for this revision Revisions of this file
PwmOut.h Show annotated file Show diff for this revision Revisions of this file
RawSerial.h Show annotated file Show diff for this revision Revisions of this file
SPI.h Show annotated file Show diff for this revision Revisions of this file
SPISlave.h Show annotated file Show diff for this revision Revisions of this file
Serial.h Show annotated file Show diff for this revision Revisions of this file
SerialBase.h Show annotated file Show diff for this revision Revisions of this file
Stream.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16/crc16.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler/app_scheduler.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_error.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_util.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_softdevice.hex Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_softdevice.hex Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/PeripheralNames.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/PortNames.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/PinNames.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_object.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/objects.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_config.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/.archive_files.txt Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/board.o Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/cmsis_nvic.o Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/mbed.ar Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/nRF51822.sct Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/retarget.o Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/startup_nRF51822.o Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/sys.o Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/system_nrf51.o Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/cmsis.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/cmsis_nvic.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/compiler_abstraction.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_ca9.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_caFunc.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_caInstr.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_ca_mmu.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cm0.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cm0plus.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cm3.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cm4.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cm4_simd.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cm7.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cmFunc.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cmInstr.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/core_cmSimd.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/nrf.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/nrf51.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/nrf51_bitfields.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/nrf_delay.h Show annotated file Show diff for this revision Revisions of this file
TARGET_NRF51_MICROBIT/system_nrf51.h Show annotated file Show diff for this revision Revisions of this file
Ticker.h Show annotated file Show diff for this revision Revisions of this file
Timeout.h Show annotated file Show diff for this revision Revisions of this file
Timer.h Show annotated file Show diff for this revision Revisions of this file
TimerEvent.h Show annotated file Show diff for this revision Revisions of this file
Transaction.h Show annotated file Show diff for this revision Revisions of this file
analogin_api.h Show annotated file Show diff for this revision Revisions of this file
analogout_api.h Show annotated file Show diff for this revision Revisions of this file
buffer.h Show annotated file Show diff for this revision Revisions of this file
can_api.h Show annotated file Show diff for this revision Revisions of this file
can_helper.h Show annotated file Show diff for this revision Revisions of this file
dma_api.h Show annotated file Show diff for this revision Revisions of this file
ethernet_api.h Show annotated file Show diff for this revision Revisions of this file
gpio_api.h Show annotated file Show diff for this revision Revisions of this file
gpio_irq_api.h Show annotated file Show diff for this revision Revisions of this file
i2c_api.h Show annotated file Show diff for this revision Revisions of this file
lp_ticker_api.h Show annotated file Show diff for this revision Revisions of this file
mbed.h Show annotated file Show diff for this revision Revisions of this file
mbed_assert.h Show annotated file Show diff for this revision Revisions of this file
mbed_debug.h Show annotated file Show diff for this revision Revisions of this file
mbed_error.h Show annotated file Show diff for this revision Revisions of this file
mbed_interface.h Show annotated file Show diff for this revision Revisions of this file
pinmap.h Show annotated file Show diff for this revision Revisions of this file
platform.h Show annotated file Show diff for this revision Revisions of this file
port_api.h Show annotated file Show diff for this revision Revisions of this file
pwmout_api.h Show annotated file Show diff for this revision Revisions of this file
rtc_api.h Show annotated file Show diff for this revision Revisions of this file
rtc_time.h Show annotated file Show diff for this revision Revisions of this file
semihost_api.h Show annotated file Show diff for this revision Revisions of this file
serial_api.h Show annotated file Show diff for this revision Revisions of this file
sleep_api.h Show annotated file Show diff for this revision Revisions of this file
spi_api.h Show annotated file Show diff for this revision Revisions of this file
ticker_api.h Show annotated file Show diff for this revision Revisions of this file
toolchain.h Show annotated file Show diff for this revision Revisions of this file
us_ticker_api.h Show annotated file Show diff for this revision Revisions of this file
wait_api.h Show annotated file Show diff for this revision Revisions of this file
diff -r 768173a57492 -r 1a27ae39e33f AnalogIn.h
diff -r 768173a57492 -r 1a27ae39e33f AnalogOut.h
diff -r 768173a57492 -r 1a27ae39e33f BusIn.h
diff -r 768173a57492 -r 1a27ae39e33f BusInOut.h
diff -r 768173a57492 -r 1a27ae39e33f BusOut.h
diff -r 768173a57492 -r 1a27ae39e33f CAN.h
diff -r 768173a57492 -r 1a27ae39e33f CThunk.h
diff -r 768173a57492 -r 1a27ae39e33f CallChain.h
diff -r 768173a57492 -r 1a27ae39e33f CircularBuffer.h
diff -r 768173a57492 -r 1a27ae39e33f DigitalIn.h
diff -r 768173a57492 -r 1a27ae39e33f DigitalInOut.h
diff -r 768173a57492 -r 1a27ae39e33f DigitalOut.h
diff -r 768173a57492 -r 1a27ae39e33f DirHandle.h
diff -r 768173a57492 -r 1a27ae39e33f Ethernet.h
diff -r 768173a57492 -r 1a27ae39e33f FileBase.h
diff -r 768173a57492 -r 1a27ae39e33f FileHandle.h
diff -r 768173a57492 -r 1a27ae39e33f FileLike.h
diff -r 768173a57492 -r 1a27ae39e33f FilePath.h
diff -r 768173a57492 -r 1a27ae39e33f FileSystemLike.h
diff -r 768173a57492 -r 1a27ae39e33f FunctionPointer.h
diff -r 768173a57492 -r 1a27ae39e33f I2C.h
diff -r 768173a57492 -r 1a27ae39e33f I2CSlave.h
diff -r 768173a57492 -r 1a27ae39e33f InterruptIn.h
diff -r 768173a57492 -r 1a27ae39e33f InterruptManager.h
diff -r 768173a57492 -r 1a27ae39e33f LocalFileSystem.h
diff -r 768173a57492 -r 1a27ae39e33f LowPowerTicker.h
diff -r 768173a57492 -r 1a27ae39e33f LowPowerTimeout.h
diff -r 768173a57492 -r 1a27ae39e33f LowPowerTimer.h
diff -r 768173a57492 -r 1a27ae39e33f PortIn.h
diff -r 768173a57492 -r 1a27ae39e33f PortInOut.h
diff -r 768173a57492 -r 1a27ae39e33f PortOut.h
diff -r 768173a57492 -r 1a27ae39e33f PwmOut.h
diff -r 768173a57492 -r 1a27ae39e33f RawSerial.h
diff -r 768173a57492 -r 1a27ae39e33f SPI.h
diff -r 768173a57492 -r 1a27ae39e33f SPISlave.h
diff -r 768173a57492 -r 1a27ae39e33f Serial.h
diff -r 768173a57492 -r 1a27ae39e33f SerialBase.h
diff -r 768173a57492 -r 1a27ae39e33f Stream.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16/crc16.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler/app_scheduler.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_error.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util/app_util.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_softdevice.hex
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s130_nrf51822_1_0_0/s130_nrf51_1.0.0_softdevice.hex
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/PeripheralNames.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/PortNames.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/PinNames.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT/device.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/gpio_object.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/objects.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_config.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/twi_master.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/.archive_files.txt
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/board.o
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/cmsis_nvic.o
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/mbed.ar
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/nRF51822.sct
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/retarget.o
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/startup_nRF51822.o
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/sys.o
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/TOOLCHAIN_ARM_STD/system_nrf51.o
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/cmsis.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/cmsis_nvic.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/compiler_abstraction.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_ca9.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_caFunc.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_caInstr.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_ca_mmu.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cm0.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cm0plus.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cm3.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cm4.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cm4_simd.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cm7.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cmFunc.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cmInstr.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/core_cmSimd.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/nrf.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/nrf51.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/nrf51_bitfields.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/nrf_delay.h
diff -r 768173a57492 -r 1a27ae39e33f TARGET_NRF51_MICROBIT/system_nrf51.h
diff -r 768173a57492 -r 1a27ae39e33f Ticker.h
diff -r 768173a57492 -r 1a27ae39e33f Timeout.h
diff -r 768173a57492 -r 1a27ae39e33f Timer.h
diff -r 768173a57492 -r 1a27ae39e33f TimerEvent.h
diff -r 768173a57492 -r 1a27ae39e33f Transaction.h
diff -r 768173a57492 -r 1a27ae39e33f analogin_api.h
diff -r 768173a57492 -r 1a27ae39e33f analogout_api.h
diff -r 768173a57492 -r 1a27ae39e33f buffer.h
diff -r 768173a57492 -r 1a27ae39e33f can_api.h
diff -r 768173a57492 -r 1a27ae39e33f can_helper.h
diff -r 768173a57492 -r 1a27ae39e33f dma_api.h
diff -r 768173a57492 -r 1a27ae39e33f ethernet_api.h
diff -r 768173a57492 -r 1a27ae39e33f gpio_api.h
diff -r 768173a57492 -r 1a27ae39e33f gpio_irq_api.h
diff -r 768173a57492 -r 1a27ae39e33f i2c_api.h
diff -r 768173a57492 -r 1a27ae39e33f lp_ticker_api.h
diff -r 768173a57492 -r 1a27ae39e33f mbed.h
diff -r 768173a57492 -r 1a27ae39e33f mbed_assert.h
diff -r 768173a57492 -r 1a27ae39e33f mbed_debug.h
diff -r 768173a57492 -r 1a27ae39e33f mbed_error.h
diff -r 768173a57492 -r 1a27ae39e33f mbed_interface.h
diff -r 768173a57492 -r 1a27ae39e33f pinmap.h
diff -r 768173a57492 -r 1a27ae39e33f platform.h
diff -r 768173a57492 -r 1a27ae39e33f port_api.h
diff -r 768173a57492 -r 1a27ae39e33f pwmout_api.h
diff -r 768173a57492 -r 1a27ae39e33f rtc_api.h
diff -r 768173a57492 -r 1a27ae39e33f rtc_time.h
diff -r 768173a57492 -r 1a27ae39e33f semihost_api.h
diff -r 768173a57492 -r 1a27ae39e33f serial_api.h
diff -r 768173a57492 -r 1a27ae39e33f sleep_api.h
diff -r 768173a57492 -r 1a27ae39e33f spi_api.h
diff -r 768173a57492 -r 1a27ae39e33f ticker_api.h
diff -r 768173a57492 -r 1a27ae39e33f toolchain.h
diff -r 768173a57492 -r 1a27ae39e33f us_ticker_api.h
diff -r 768173a57492 -r 1a27ae39e33f wait_api.h