This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Project : Field Robot | |
task: counting plants with laser sensor and auto nevigation | |
Group: FR6 | |
prepared by : AKBAR MOSHUR ALAM | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <bcm2835.h> | |
// defining the connections | |
#define ultra_LT RPI_V2_GPIO_P1_16 | |
#define ultra_LE RPI_V2_GPIO_P1_18 | |
void setup() |