Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Infineon Team
Published © MIT

#MakeRadar

#MakeRadar provides radar tutorials, demos running directly in your browser and hands tutorials to guide you from zero to prototyping

BeginnerProtip1 hour656

Things used in this project

Hardware components

SENSE2GOL MAKE
Infineon SENSE2GOL MAKE
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

#MakeRadar Code

C/C++
Code to be flashed onto Infineon's Sense2GoL board via Arduino
#include <Arduino.h>

void setup()
{
  Serial.begin(38400);
  Serial.println("Init done!");

  // Only necessary when directly communicating with the board
  pinMode(BGT_ON, OUTPUT);
  digitalWrite(BGT_ON, LOW); // Turn on the board
}

void loop()
{
  Serial.print(analogRead(CH_I));   // Read and print I
  Serial.print(' ');
  Serial.println(analogRead(CH_Q)); // Read and print Q
}

Credits

Infineon Team
107 projects • 176 followers
Contact

Comments

Please log in or sign up to comment.