Introduction to Robot C


Getting Started

Connext your Robot to Robot C

Open sample program and upload to Robot

The Structure of Robot C Program

► #pragma

This area defines the robot system

► Includes

References to external Library code

► Global Variables

Variable available to all functions

►User-defined Functions

Variables defined inside a function are scoped as local and only visible to the function of origin

► task main() { // the nuts and bolts }

► conditions, Variables , Constants  Statements and Functions

→ Conditions

→ Variables Consist  of Three Parts

Data Type   Assigned to Value

int x=0;

→ Constant

const  float pi=3.14159265

/ *********************************************/→ Functions

void myFunction(){ // has no return vale or inpit





/ *********************************************/

int myFunction2(){ // has no return vale or inpit


float pi=3.14159265;



return pi;


/ *********************************************/


C Operators

► Control Structures

Sample Code

LIVE Brownbag – “Bitcoin State of the Union Address” with Defango

Defango drops some knowledge about the recent Bitcoin Cash split in this one, broh.

Buyer beware: has not released any statement of intent about what they are to do with the BTH which their users’ bitcoin wallets should have received overnight.

A lawsuit is already underway. Lesson learned: get a hardware wallet!

****Update: Bitcoin cash to be made available on Coinbase in January 2018

Recommendations towards the end.