Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 62 matches
www.mcselec.com Forum Index
Author Message
  Topic: Porting SHT11 example to Bascom 8051
Gianni

Replies: 1
Views: 1121

PostForum: BASCOM-8051 Archive   Posted: Wed Apr 19, 2006 11:15 am   Subject: Porting SHT11 example to Bascom 8051
I have put an example in bascom 8051 code.
Regards
Gianni
  Topic: Temperature & Humidity with the Sensirion SHTxx
Gianni

Replies: 1
Views: 5591

PostForum: Share your working BASCOM-8051 code here   Posted: Wed Apr 19, 2006 11:13 am   Subject: Temperature & Humidity with the Sensirion SHTxx
This bascom 8051 example reads the SHT11 sensor and reports the result on a 16*2 lcd display
Regards



'
' Test sensirion SHT11
'
' r.0 21/11/03
'
'
$regfile = " ...
  Topic: How to squeeze graphic values ?
Gianni

Replies: 0
Views: 926

PostForum: BASCOM-8051 Archive   Posted: Mon Dec 19, 2005 10:50 am   Subject: How to squeeze graphic values ?
I'm playing with a Nokia 3310 display.
I want display 3000 values on X axis which is 60 pixel wide.
There is a more clever algorithm then display a value every 3000/60 ?

Regards
Gianni
  Topic: Fat 16/32 for SD card
Gianni

Replies: 0
Views: 972

PostForum: BASCOM-8051 Archive   Posted: Fri Nov 25, 2005 10:49 am   Subject: Fat 16/32 for SD card
Hi.
I'm looking for something like AVR DOS but running with Bascom 8051
Regards
Gianni
  Topic: single to byte conversion
Gianni

Replies: 1
Views: 1110

PostForum: BASCOM-8051 Archive   Posted: Mon Nov 14, 2005 9:30 am   Subject: single to byte conversion
Hi.
I suppose you mean something like this:

dim sing as single
dim tmp1 as byte
dim tmp2 as byte
dim tmp3 as byte
dim tmp4 as byte
dim pntr as byte


sing = -1.23456
pr ...
  Topic: for good programmers
Gianni

Replies: 2
Views: 1408

PostForum: BASCOM-8051 Archive   Posted: Tue Nov 08, 2005 1:42 pm   Subject: for good programmers
Hi.
Vb6 professional has full RS232 support with Mscomm32.ocx
If your Vb version do not include Mscomm perhaps this may help

http://ourworld.compuserve.com/homepages/richard_grier/NETCommOCX.htm ...
  Topic: 89s8253 programming
Gianni

Replies: 1
Views: 1203

PostForum: BASCOM-8051 Archive   Posted: Tue Oct 18, 2005 7:22 am   Subject: 89s8253 programming
Hi.
perhaps this may help
http://groups.yahoo.com/group/8052/message/1767

Regards
Gianni
  Topic: ASEMBLER > > BASCOM
Gianni

Replies: 7
Views: 2157

PostForum: BASCOM-8051 Archive   Posted: Fri Sep 30, 2005 11:43 am   Subject: ASEMBLER > > BASCOM
Finally I have understood your problem.
Bascom IDE for the DL2TM programmer only support binary files (*.bin)

You can do.
1)
Do not use bascom IDE !
Update your software http://www.qsl.net/dl ...
  Topic: ASEMBLER > > BASCOM
Gianni

Replies: 7
Views: 2157

PostForum: BASCOM-8051 Archive   Posted: Wed Sep 28, 2005 11:38 am   Subject: ASEMBLER > > BASCOM
Hi.
I do not understand what you want to do.
If you want the hex file of this assembler code you have to assemble it with ASM51 http://www.metaice.com/ASM51/ASM51.htm
if , for some strange reaso ...
  Topic: Bitmanipulation in bascom8051
Gianni

Replies: 4
Views: 1676

PostForum: BASCOM-8051 Archive   Posted: Wed Aug 03, 2005 3:37 pm   Subject: Bitmanipulation in bascom8051
Hi.
If someone is interested
In BASCOM-8051 Code I have put some routines to simulate a bit array.

Regards
Gianni
  Topic: Bit array simulation
Gianni

Replies: 0
Views: 3967

PostForum: Share your working BASCOM-8051 code here   Posted: Wed Aug 03, 2005 3:32 pm   Subject: Bit array simulation
'These routines allow to manage a bit array .
'For less then 32 bit is more suitable use the bascom "var_name(bit_N°) = 1/0 "
'
'
'
const BitNu0 = 0 ' 1° element Dim B_array(1)
con ...
  Topic: PWM with 89c2051
Gianni

Replies: 3
Views: 1803

PostForum: BASCOM-8051 Archive   Posted: Wed Aug 03, 2005 3:28 pm   Subject: PWM with 89c2051
Hi.
Have a look at the servo statement , perhaps is useful for you.

Regards
Gianni
  Topic: SPI settings for MMC/SD card interface
Gianni

Replies: 1
Views: 1398

PostForum: BASCOM-8051 Archive   Posted: Wed Jul 20, 2005 11:48 am   Subject: SPI settings for MMC/SD card interface
Hi.
For my weather data logger I am working with SD memory card.
I use a 89C51RC2 which has hardware SPI, someone knows the right setting for these cards ?
Thanks
Gianni
  Topic: "Input var Noecho Timeout=1000" ,timeout problem
Gianni

Replies: 2
Views: 1239

PostForum: BASCOM-8051 Archive   Posted: Mon Jul 18, 2005 8:42 am   Subject: Input var Noecho Timeout=1000" ,timeout problem
Hi farshidjh
You have to add the compile directive $TIMEOUT and check the Err flag (if needed).
Regards
Gianni
  Topic: Getrc5 doesn't work for me
Gianni

Replies: 9
Views: 2653

PostForum: BASCOM-8051 Archive   Posted: Wed Jun 22, 2005 2:37 pm   Subject: Getrc5 doesn't work for me
I suppose the problem resides in the GETRC5; it works fine at 11 MHz but absolutely does not work at 22 MHz . However I don't like GETRC5, it uses a lot of ram (30 bytes + space for save register 15 b ...
 
Page 4 of 5 Goto page Previous  1, 2, 3, 4, 5  Next
All times are GMT + 1 Hour
Jump to: