database for pic arduino and arm microntrller
database for pic arduino and arm microntroller
code
#include <Wire.h>
#define disk1 0x50
void setup(void)
{
Serial.begin(9600);
Wire.begin();
unsigned int address = 0;
writeEEPROM(disk1, address, 26);
Serial.print("Echo from EEPROM 24C02 for adress 0x00: ");
Serial.print(readEEPROM(disk1, address), DEC);
}
void loop(){}
void writeEEPROM(int deviceaddress, unsigned int eeaddress, byte data )
{
Wire.beginTransmission(deviceaddress);
Wire.write((int)(eeaddress >> 8));
Wire.write((int)(eeaddress & 0xFF));
Wire.write(data);
Wire.endTransmission();
delay(5);
}
byte readEEPROM(int deviceaddress, unsigned int eeaddress )
{
byte rdata = 0xFF;
Wire.beginTransmission(deviceaddress);
Wire.write((int)(eeaddress >> 8));
Wire.write((int)(eeaddress & 0xFF));
Wire.endTransmission();
Wire.requestFrom(deviceaddress,1);
if (Wire.available()) rdata = Wire.read();
return rdata;
}
database for pic arduino and arm microntrller
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
- JOSE ADRIANO PEREIRA SANTOS May 15,2019
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by JOSE ADRIANO PEREIRA SANTOS
- Guitar Pedal Bigg Muff Pi Guitar Pedal Bigg Muff Pi
- PIC AVR AND EEPROM PROGRAMMER PIC AVR AND EEPROM PROGRAMMERA RECORDER LIKE THIS CAN'T MISS IN YOUR LABORATORYI RECOMMEND VIEWING T...
- ESR METER WITH 5 TRANSISTOR -------- credits Omar Cuellar ESR METER PARA VERIFICA??O DE CAPACITORES ELETROLITICOShttps://www.youtube.com/watch?v=8LU-AviAIuE&a...
- Amplifier LM1875 Amplifier lm1875 hi end hi fi
- Variable Power Supply 0~15volts 5A Variable Power Supply 0~15volts 5A
- ESR METER VERSION 3.0 ESR meter for use with multimeter analog, uses IC tl084, the actual values of the components printed...
- Amplifier 2.1 with TDA7377 Amplifier Tda7377 2.1 subwoofer
- Arduino Revolution Arduino Uno revolution
- Transistor Tester (transistor tester project) interested, when making the purchase send an email to adrianelektronik@h...
- Rotary display 8x2 for Arduino Rotary encoder display 8x2 for Arduino pic microcontroler and Leds
- Ac load Dimmer Ac load Dimmer project for bt139
- In out Select Switch C-mos for Arduino and Pic or for User in Audio In out Select Switch C-mos for Arduino and Pic or for User in Audio
- Amplifier 500w RMS Amplifier 500w RMS list parts
- database for pic arduino and arm microntrller database for pic arduino and arm microntrollercode#include <Wire.h> #define disk1 0x50 v...
- ESR Meter Ic Tl084 ESR meter for use with multi-channel analog, uses IC tl084, the actual values of the components prin...
- Low Pass Filter Low pass filter for subwoffer userSupply: +12v and -12v power supply simetric
- Amplifier 200w Rms board for amplifier 200w rms
- Volt meter ICL7107 0 - 30 volts Power Supply Voltimetro Volt meter using the ic ICL7107 0 - 30 volts For power supply I sell my Gerber file, removing m...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
112 0 0 -
DIY Laser Power Meter with Arduino
162 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
156 0 2 -
-
A DIY Soldering Station Perfect for Learning (Floppy Soldering Station 3.0)
558 0 2