connect satnav to cpu? get location for satnav? maps? how!
connect satnav to cpu? get location for satnav? maps? how!
I can't to control IAL12790 by SPI interface.
I don't know why.
i send 0x40 to IAL12790 voice not responding but IAL12790 return value to code
any one have sample code
thanks.
orcin.
sir i am using IAR for MSP430 compiler , getting some errors after
clicking on the Debug without downloadingoption on
compiler
can any one tell me ho to minimize those errors?
flash error:
user error:Illegal opcode found on address 0x0;
and
some errors…
void nihao()
{ <------ when i debug, y there my brace turn red?
tmp=5;
if (count==tmp){
P0=0x00;
P2=0X00;}
if (count==tmp+2){ //n
P0=0xfe;
P2=0x03;}
if (count…Hi,
I read the manual for GIPO library for MCBSTR9 board, and I saw a few examples. Unfortunately, when trying to use them in the program pops up the information about some errors.
Source code:
int main (void) {
u8 Read_Value;
GPIO_InitTypeDef…hi,
i have a machine with 12mb of flash...however when i compile my program in keil i get the following error ...my code is loaded into flash...however how do i tell the keil linker about this n ask it to stop giving me address space overflow errors…
WHEN I COMPILE THIS CODE GIVEN BELOW IT GIVES ERRORS LIKE
error 52: Actual Argument type different from declaration 2 from type 'unsigned-char generic*' to type 'unsigned-char'
#include<8051.h>
//---------------------------…
I am trying to build a counter using an ADUC7024. Basically I want Timer0 to cause a global interrupt every 10ms. Timer1 should be counting my input TTL pulses.
Every time it interrupts, I want the DAC to output a voltage proportional to the number…
I got the question about volatile variebles and eeprom memory. (I use C and IDE)
First of all, I have a program that has to remember a variable's value even if I reset the thing (this value changes between 0 - 9 so it is an unsigned char). The details…
Well my program is a car security system which detects intrusion ,fire,gas using 4 sensors and sends an sms via GSM modem. Given below is my code which is in BASCOM software which when compiled given numerous errors. CAn you tell me what could be the…
i use 3ff8h,3ff9h,3ffah,3ffbh,3ffch,3ffdh,3ffeh,3ffeh,3ff
the code for make clock is :
Start :
mov dptr,#3fffbh (hour)
clr a
mov a,@a+dptr
call phex
mov a,#':'
mov dptr,#3fffah (min)
clr a
mov a,@a+dptr
call phex
mov a,#':'
mov dptr,#3fff9h…
if not exist as.lib goto usliex del as.lib :usliex c:\tools\keil\c51\bin\lib51 c as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sacode.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sccode.obj to as.lib >..\trash\trashbin…
hi all i am a bit stuck in a problem .
i am using a LAMPEX 24200(HD44780 clone) lcd and trying to interface it with AT89C51 . my problem is i am not able to understand where my problem lies , it seems to me after many hardware tests that it is ok , but…
I write a small code in C to drive LCD ht1621 and it seemd OK but I can only write but not read.Although I set bit P1.6 to make it read OK but I can not get the data from LCD.
I write a small code in ASM and i can both read and write.
Could you tell me…
My first using of CVCS,
I am using MS VSS
All of the files are locked
how can i get the previllege to edit them
when i execute the menu,it display
"C:\Program Files\Microsoft Visual Studio\VSS\WIN32\SSEXP.EXE" Nocky "C:\Program Files\Microsoft Visual…
Hi,
I have a lot of string that I have to put in a Display 2x16 and I'm trying to put this strings in the code area. Firs I declare a matrix as below:
const unsigned char [6][16] = {
"bla-bla-bla-bla-",
"bla-bla-bla-bla-",…
I have in two separate threads multiple times tried to write comments relating to wat ch dog - which is a very important subject on this forum.
Only problem is that it always fails with a server error 500.100.
You shouldn't block so obvious embedded…
can anyone explain me the difference between baud rate and bits/sec?
how to drive a stepper motor without using stepper driver?. I know that stepper motor can be driven using pulse width modulation and it can be achieved by using port pins. what are all the other requirements we have to consider?(timer channel...)
Can anyone pls help me in writing the following lines in C
Var1 DATA 40h org 0100h mov A,#45h mov Var1,A END
To make a lookup table in c,I've tried like this
static code unsigned char T[]={0X01,0X02,0X03};.But is it possible to prepare one as we do in assembly.org 3000h db 01h,02h,03hi.e assigning some address to the variable T in the example given…
I am writing a code in embedded C.I would like to know how much should be my stack? How to calculate it?.
Hi everybody
I am using ADuC7026, I have just written two program(i.e fft...). but it isnt downloading to flash after setting debug it is saying like code size limit exceed. Is there any code or any intialization so that i can able to download it to…
hi everybody
I have used hyper terminal and set baudrate to view my processor output. Is it possible to create an file in keil(any command) in which we can directly print the output instead of viewing in hyper terminal.
thanks in advance
From keil code examples
C:\ADuC_Beta702x\Code\Keil Code Examples\UART\UART1
#include <ADuC7026.h>
extern int write (int file, char * ptr, int len); // Functions used to
extern int getchar (void); // to output data
extern int putchar(int); //…