Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1923 matches
www.mcselec.com Forum Index
Author Message
  Topic: How to split string
kimmi

Replies: 10
Views: 2152

PostForum: BASCOM-AVR Archive   Posted: Mon Aug 07, 2006 10:02 pm   Subject: How to split string
Hi all ...

Working on the last part on my GPS Tracker and need help
Now I cant see how to get a largs string split up using (,) as split

here is my string

GPGGA,191410,4735.5634,N,00739.35 ...
  Topic: Inkey OR Ischarwaiting
kimmi

Replies: 5
Views: 965

PostForum: BASCOM-AVR Archive   Posted: Sat Aug 05, 2006 7:43 pm   Subject: Inkey OR Ischarwaiting
Hi DToolan ...
tnx ..
Have fix the problem
the do loop in new sms i did not exit thats way it did not work
Embarassed
  Topic: Inkey OR Ischarwaiting
kimmi

Replies: 5
Views: 965

PostForum: BASCOM-AVR Archive   Posted: Fri Aug 04, 2006 11:25 am   Subject: Inkey OR Ischarwaiting
Can i solve this problem if i creates software UART’s for terminal use

have never try´d this software UART’s and help for this is small in bascom ther thay use portc in exsample
  Topic: Inkey OR Ischarwaiting
kimmi

Replies: 5
Views: 965

PostForum: BASCOM-AVR Archive   Posted: Fri Aug 04, 2006 11:18 am   Subject: Inkey OR Ischarwaiting
hi DToolan ...

my problem is only i dont get terminal send char into case select if cerialin=buffered

here is a snip of code :

Config Serialin = Buffered , Size = 169

Do
'the main progra ...
  Topic: Inkey OR Ischarwaiting
kimmi

Replies: 5
Views: 965

PostForum: BASCOM-AVR Archive   Posted: Fri Aug 04, 2006 1:20 am   Subject: Inkey OR Ischarwaiting
Hello all ...

I am working on a serial prog and got some confligts Mega32

I use Config Serialin = Buffered , Size = 254
and it works fine for B = Inkey()
talking to my gsm phone
but i have ...
  Topic: eurotimedate Query
kimmi

Replies: 6
Views: 769

PostForum: BASCOM-AVR Archive   Posted: Thu Aug 03, 2006 2:51 pm   Subject: eurotimedate Query
ohhh sorry

Do you have Phil´s ds1307rtc.lib ?

'get date & time from the DS1307 & convert it to binary & stick it in the
'global variables _sec, _min, _hour, _day, _month. _year
'T ...
  Topic: eurotimedate Query
kimmi

Replies: 6
Views: 769

PostForum: BASCOM-AVR Archive   Posted: Thu Aug 03, 2006 1:42 am   Subject: eurotimedate Query
this work ok to

$regfile = "m32def.dat"
$crystal = 8000000
$baud = 19200
$hwstack = 32
$swstack = 10
$framesize = 40

$lib "ds1307rtc.lib"
'$lib "eurotimedate.lib&q ...
  Topic: eurotimedate Query
kimmi

Replies: 6
Views: 769

PostForum: BASCOM-AVR Archive   Posted: Thu Aug 03, 2006 1:01 am   Subject: eurotimedate Query
hi ...
try this Rolling Eyes



$regfile = "m8def.dat"
$crystal = 4000000
$baud = 19200
$hwstack = 32
$swstack = 10
$framesize = 40
Dim A As Byte
Enable Interrupts

'[now init ...
  Topic: CRC16 calculation
kimmi

Replies: 9
Views: 852

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 15, 2006 11:26 am   Subject: CRC16 calculation
hi..
here you find all about the CRC16 in vb6 Shocked

Medo's Home Page

http://www.jmedved.com/default.aspx?Renderer=Html&Language=Hr&ID=3010202
  Topic: RS232 serial coms tutorials?
kimmi

Replies: 11
Views: 1614

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 15, 2006 12:51 am   Subject: RS232 serial coms tutorials?
Hi ..
I use this to talk to avr and gsm from vb6 works fine
can RX/TX




Dim Serialin As String
Private Sub CmdEnter_Click()
MSC.Output = Text5.Text + Chr(13) '+ Chr(13) if you need l ...
  Topic: can you help simple the code
kimmi

Replies: 2
Views: 2671

PostForum: BASCOM-AVR Archive   Posted: Mon May 15, 2006 3:40 pm   Subject: can you help simple the code
Hey ..

Yes some siemens phones can but not all models

ex A65 only pdu
  Topic: can you help simple the code
kimmi

Replies: 2
Views: 2671

PostForum: BASCOM-AVR Archive   Posted: Mon May 15, 2006 11:25 am   Subject: can you help simple the code
Hey All Bascom users ..

I have made some code for siemens gsm phone for the sms to convert text to pdu format and back

the code looks like someone (like me) that dont know how to make a simple c ...
  Topic: RS232 ? Mega8
kimmi

Replies: 6
Views: 779

PostForum: BASCOM-AVR Archive   Posted: Wed Apr 26, 2006 8:27 pm   Subject: RS232 ? Mega8
Hey Eugen .. Very Happy
have found the problem .

it was stored in the eram not in eeprom thats was my
problem to find it now it works fine

tnx for your help

Razz
  Topic: RS232 ? Mega8
kimmi

Replies: 6
Views: 779

PostForum: BASCOM-AVR Archive   Posted: Wed Apr 26, 2006 9:44 am   Subject: RS232 ? Mega8
hi Eugen ..


it was a type O

but cant use (CR) because it send (13) (10) in start and finish like this

in Hex :

0D 0A 4F 4B 0D 0A > 13 10 OK 13 10
0D 0A 4F 4B 0D 0A > 13 10 OK 13 ...
  Topic: RS232 ? Mega8
kimmi

Replies: 6
Views: 779

PostForum: BASCOM-AVR Archive   Posted: Tue Apr 25, 2006 4:39 pm   Subject: RS232 ? Mega8
Hi ..

Tnx for replay ..

still can´t get it to read the rx in to a string

if I do this :

Print "AT" ' send AT to phone get OK back


need to read this data from phone :
Print "AT+CSCA ...
 
Page 127 of 129 Goto page Previous  1, 2, 3 ... 126, 127, 128, 129  Next
All times are GMT + 1 Hour
Jump to: