Hauptprogramm (Arduino)
More...
#include <Arduino.h>
#include "LiquidCrystal.h"
#include "_debug.h"
#include "Wire.h"
#include "twi.h"
Go to the source code of this file.
Hauptprogramm (Arduino)
Laborbeispiel (ATMEGA 328P 16MHz)
- Author
- Twerdy 2016 4AHEL
- Date
- 17.02.2016
- Version
- Slave 1.0 Aufgabenstellung
Es soll ein Programm geschrieben werden welches den I²C Bus verwendet um Daten zwischen zwei Arduino Unos zu verschicken. Es soll ein Master und ein Slave programmiert werden. Der Master schickt dem Slave Daten und der Slave gibt diese auf dem Display aus.
Definition in file start.cpp.
void receiveEvent |
( |
int |
howMany | ) |
|
function that executes whenever data is received from master this function is registered as an event, see setup()
Definition at line 42 of file start.cpp.
Setup: initialize the I²C bus
Definition at line 29 of file start.cpp.