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 all
i am using CCS pic compiler.
i want to use serial programming.
can someone send me the code in which i will simply send 16 bit int and receive to another MCU (PIC16F886).
thanks in advance.
i am using this code to transmit . it transmits properly but receiving is creating proble...
hi all
i am using mikro C for AVR.
how can i test or edit a bit in a variable int?like i have an 8 bit int "reg" and i want to make bit5 of "reg",hi. or i want to check the bit 5 is hi or low, for both cases, what i have to do? help please.
thanks all to guide me.
need more guideline.
can i use arduino usb host shield for my purpose?
if yes then can i use shield directly to AVR ATMEGA8 or should use arduino it self with?
well i want to know if i use PIC18F2550 and attach with barcode scanner via USB and link its UART to computer via RS232 port, can i get the value from scanner to hyper terminal?
If yes, then how can i do it?
any hint to write code in C or even in assembly?
- - - Updated - - -
Can i use USB to...
hi all
i want to use pic18f182550 for USB communication.
Actually i want to generate my own data stream.
I have a joy pad which is USB. first i want to analyse the data, comes from joy pad by pressing several buttons on it then i want to generate same data stream by PIC18F2550.
for analyzing, i...
in above code, i may get the right result but how can i get the result in decimal in degrees?
means simply please tell any simple code to covert bcd to decimal.
(0xff to 255)
hi
when i put the value 0x7543 in an "int16", in RAM that is shown as it is. But
when i put 0x7543 in float, it gives an other 32 bit value in RAM which is "866A8D"
what does it mean?
an i want to calculate trigonometry like
cos45*sin90... etc. (in degrees)
how can i do it ?
urgent help is needed
hi
I have used CCS and mikroC as PIC compiler.
now i am going to use AVR studio as AVR C compiler.
In beginning i am facing a problem about #define.
How can i define port as label like i want to use portb.0 as LED output.
when i write #define LED PORTB.0 it makes error.
what is the right way...
hi
i simply need to convert decimal (8 bit) to hex in CCS. In mikroC, that is so easy to convert by using "bcd2dec" built in function. but in CCS i think there is no any function like that so how can i do?
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.