INF2004-Project v0.1
 
Loading...
Searching...
No Matches
main.c File Reference

Demonstration for the IR sensor driver. More...

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "pico/stdio.h"
#include "irline/ir_sensor.h"
#include "irline/barcode.h"
Include dependency graph for main.c:

Macros

#define ADC_PIN_FRONT   27
 Pin for front IR sensor's analogue output.
 
#define ADC_PIN_LEFT   26
 Pin for left IR sensor's analogue output.
 
#define GPIO_PIN_FRONT   16
 Pin for front IR sensor's digital output.
 
#define GPIO_PIN_LEFT   15
 Pin for left IR sensor's digital output.
 

Functions

int main (void)
 

Detailed Description

Demonstration for the IR sensor driver.

Author
Ang Jia Yu and Christopher Kok
Version
0.1
Date
2023-10-29