Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi,
I have trouble with reading a pin as input. I use the code below. I can only read the pin one time and even if its physical state changes , i can not read the change. In user manual its stated ("if an FIOPIN register is read, its bit(s) masked with 1 in the FIOMASK register will be read as 0...
I wrote a function below. it must check out the incoming data from uart then it must complete himself and go back to main routine. But it doesnt. Please help.
void incoming1(void){
if(getc()==id1){
goto s1;}
s1:
while(true){
if(kbhit()){
if(getc()==id2){
goto s2;}}}...
Hi,
I want to send data with attiny2313 to atmega32 mc. I use code below, but it doesnt work. when attiny2313 sends data to atmega32 , i cant see the right data on LCD connected to atmega32. what may the problem be?
#include <avr/io.h>
#include <avr/interrupt.h>
#include...
Hi ,
I want to use timer0 as counter for a dc motor encoder. But for the CCS C compiler i dont know how to do it? How can i use timer0 as external pulse counter?
And so I have then used 24LC256 that works with 3.3V same as my board , but it didn't work again. Maybe I can't recognize something wrong with my code but i can't find.
Adress lines are tied to GND, WP is tied to GND, SCL and SDA pins are pulled up with 3.3k resistors. I have tried with 24C256, 24LC256 and 24LC512 eeproms but i couldnt write anything.
My read and write codes are below: I can read my eeprom but i can't write to it.
main.c:
#include <LPC17xx.h>
#include "lcd.h"
#include "delay.h"
#include "i2c.h"
extern volatile uint32_t I2CCount;
extern volatile uint8_t I2CMasterBuffer[BUFSIZE];
extern volatile uint32_t I2CCmd...
Hi,
I am trying to write eeprom by using i2c, but i can't. Maybe , there is power difference between 24C256 and 24LC256. 24C256 works with +5v and 24LC256 works +3.3v. What do you think ?
Hi,
Is there anyone can work lpc17xx bundle usbhid example? I couldnt work it. I compile the usbhid example but it doesnt work.The link is below.
http://ics.nxp.com/support/software/code.bundle.lpc17xx.keil/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.