Example for Freedom Studio


(Balaji V) #1

Please where can i learn about HiFive01 board.
I am eager to learn but there is no resource available like outer boards or arduino.
I have worked in C and Arduino’s but can’t find examples of HiFive01 board.

I have Freedom Studio , HiFive01 board and a lot of curiosity to learn these two,
Please help me to learn with my previous knowledge base.

I am waiting for your reply SiFive Teams.


#2

You can get example projects in Freedom Studio.
Go to File > New > Freedom E SDK Software Project

Or you can view my tutorial video at https://youtu.be/zp-xVC4vuoA


(Balaji V) #3

Sir,

 I am looking for the orginal bare metal code to access the GPIO pins
 Not through header file or library function.


 The following code is for arduino:
indent preformatted text by 4 spaces
void setup(){  
 pinMode(13,OUTPUT); 
 pinMode(12,INPUT);
}

void loop(){
if(digitalRead(12)==HIGH){
digitalWrite(13,HIGH);
delay(1000);
}
else{
digitalWrite(13,LOW);
}

Can anyone send me the equivalent code for HiFive1 using Freedom Studio.

Please!!..