SJOne Board


Introduction

How to obtain the Board Contact Preet About the Board LPC1758 User Manual File:2012SJOne...



Basic IO

GPIO  #include "gpio.hpp" #include "utilities.h" int main(void) { /* Use P1.20 as Genera...


Serial Communication Libraries

UART Driver #include "uart2.hpp" #include "uart3.hpp" void uart() { Uart2& u2 = Ua...


Internal Component Libraries

LEDs, Switches & LED Display There are on-board switches and LEDs you may use. Furthermore, ...


External Components

ADC Ultrasonic Proximity Sensor #include “adc0.h” int main(void) { int reading = 0;...


Debugging a crash

Debugging a Crash When the crash happens, it will print some useful info upon next boot, and it ...


FreeRTOS

FreeRTOS void vTaskCode( void * pvParameters ) { /* Grab Parameter */ uint32_t c = (u...


Services

Timer Services Getting system time using C libraries is an option, but you can also get time dir...


Command Line Interface

Add a Terminal Command /* At terminal.cpp, add the following code at the taskEntry() function */...


Adding Additional Source Code

C++ File Adding C++ code is simple. Simply add your *.hpp and *.cpp files and you are good to go...


Block Diagrams

Board Block Diagrams The block diagrams below show the connectivity to various different chips o...



Search Results Clear Search

Back to top