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.
I had created a simple test code for CAN using PIC18F4580. Which consists of 2 nodes sending data between each other. Uses 11-bit standard ID for communication. Node-1 is given ID of 10 and Node-2 is given ID of 20. I tried to display the registers like COMSTAT, TXB0CON, TXERRCNT, RXB0CON...
I got another doubt. They can use USB-UART chip like CH340 to provide USB interface instead. Because cost of ATmega16 is more than CH340. And use ATmega328p with bootloader installed?
Hi, I want to know why ATmega16 is used in Arduino Uno R3. What is the purpose of placing ATmega16 and ATmega328p on same board? Is ATmega328 is not enough?
Hi, I am working on wireless sensor networks in MATLAB. I need to calculate residual energy at each transmission as well as reception of data. For which I needed ETX - energy for transmitting single bit, ERX - energy for receiving single bit and Amplification coefficient for a nRF24L01 module...
I found a code based on Man in the Middle Attack on Github but don't know how to run this code which IDE to use and on which platform it will work so I need help regarding it. Here is the URL
https://github.com/Carl-Chinatomby/Computer-Security
I wrote a inline assembly code in which port pins 0 to 5 represent PD2 to PD7 and 6 and 7 represent PB0 and PB1 respectively. High(pin) is used to make the respective pin logical HIGH. I referred avr-libc-user-manual.pdf to write the following code. But I went wrong some where.
#include...
I am using DevC++.
I need to write
lcd.h
class LCD{
void display(char);
};
lcd.cpp
void LCD :: display(char c){
//my code
}
Then in main.cpp
#include <iostream>
using namespace std;
int main(){
LCD lcd; // Is any way to not specify hear but anywhere else in lcd.h or lcd.cpp...
Obtaining object.fun.a() structure using c++
I need to obtain in c++ similar to object.fun.a() and object.fun.b() which resembles system.out.println() in java. Is it possible in c++.
Thank you for your reply. I mean can I make something like this
void init(uint8_t rs, uint8_t en){
static _en = en;
static _rs = rs;
}
void toggle_en(){
//make use of _en here
//_rs is used in some other routine
}
I need to write a function relating to LCD as follows
void init(uint8_t rs, uint8_t en);
and
toggle_en();
I need to use parameter 'en' within init() function in toggle_en() function how to do that
I need a FET or MOSFET that can operate with 5v supply having drain current of 1.5Amps, low drain to source resistance, cheap in price and also available any where in Asia. Can anyone suggest...
I am displaying date and time on LCD. I first wrote date and time to 1307 and put a while loop that reads values stored in location 0x00 to 0x07 to an array. Then I wrote a function to decode that value to display on LCD.
The problem is inside while loop the time and dates are not updating. It...
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.