MEMS cvičenie 6: Rozdiel medzi revíziami
Zo stránky SensorWiki
Bez shrnutí editace |
|||
Riadok 15: | Riadok 15: | ||
* Official I2C Specification Version 6 http://www.nxp.com/documents/user_manual/UM10204.pdf | * Official I2C Specification Version 6 http://www.nxp.com/documents/user_manual/UM10204.pdf | ||
* Official List of assigned NXP / Philips I2C addresses http://www.diolan.com/downloads/i2c-address-allocation-table.pdf | * Official List of assigned NXP / Philips I2C addresses http://www.diolan.com/downloads/i2c-address-allocation-table.pdf | ||
* --- | |||
* [ | * [ht-ps://www.arduino.cc/en/Reference/Wire Wire Library] Reference | ||
* [https://www.arduino.cc/en/Serial/Print Serial Library - Print] Reference | * [https://www.arduino.cc/en/Serial/Print Serial Library - Print] Reference | ||
=== Datasheets === | === Datasheets === | ||
* [http://www.atmel.com/images/doc0180.pdf AT24C02 EEPROM memory] | * [http://www.atmel.com/images/doc0180.pdf AT24C02 EEPROM memory] |
Verzia z 10:24, 1. apríl 2016
Oboznámenie so zbernicou i2c
Úlohy:
- Pripojte k procesoru pamäť podľa schémy zapojenia
- Schému upravte tak, aby adresa zariadenia bola ??
- Zapíšte na prvé pamäťové miesto (adresa 0x00) znak 'A'
- Prečítajte, či je znak správne zapísaný
- Prečítajte obsah celej pamäte a vypíšte ho na terminál.
Literatúra
- Official I2C Specification Version 6 http://www.nxp.com/documents/user_manual/UM10204.pdf
- Official List of assigned NXP / Philips I2C addresses http://www.diolan.com/downloads/i2c-address-allocation-table.pdf
- ---
- [ht-ps://www.arduino.cc/en/Reference/Wire Wire Library] Reference
- Serial Library - Print Reference