AVRly - AVR Development Resources
example Directory Reference

Files

file  atmega_i2c.c [code]
 I2C communications driver for AVR MCU's.
 
file  atmega_i2c.h [code]
 I2C communications driver for AVR MCU's.
 
file  bme280.c [code]
 
file  bme280.h [code]
 
file  log_system.c [code]
 Driver file providing logging functionality over USART, to print debug messages and values to a teminal program on your PC.
 
file  log_system.h [code]
 Driver file providing logging functionality over USART, to print debug messages and values to a teminal program on your PC.
 
file  main.c [code]
 Example main routine demonstrating the BME280 sensor.
 
file  pin_defines.h [code]
 Definitions for pin mapping.
 
file  usart.c [code]
 Driver file providing core USART communication between the target MCU and your PC. This file was adapted from Elliot Williams' Github repo hexagon5un. (link in the see also section below).
 
file  usart.h [code]
 Driver file providing core USART communication between the target MCU and your PC. This file was adapted from Elliot Williams' Github repo hexagon5un (link in the see also section below). NOTE: This driver does involve blocking waits, this may be improved on in a later version.