Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 5144 matches
www.mcselec.com Forum Index
Author Message
  Topic: Sending ASCII with RS232
albertsm

Replies: 1
Views: 1428

PostForum: BASCOM-AVR Archive   Posted: Tue Aug 03, 2004 10:58 pm   Subject: Sending ASCII with RS232
Can you make a logging with the terminal emulator and post it here?

further you use OPEN but that is not needed when you use the HW UART.
I suggest thisas the main loop:

do
input s1
input ...
  Topic: Re: [bascom] moving code appears to change operation (AVR)
albertsm

Replies: 2
Views: 1384

PostForum: BASCOM-AVR Archive   Posted: Tue Aug 03, 2004 10:51 pm   Subject: Re: [bascom] moving code appears to change operation (AVR)
Hi,

As the CURSOR commands has a number of options, the compiler holds a variable with the setting you make. For example for CURSOR ON, CURSOR BLINK , etc.
But the code must be placed as encounter ...
  Topic: Publishing Bascom Code
albertsm

Replies: 6
Views: 2820

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 24, 2004 2:54 pm   Subject: Publishing Bascom Code
Hi,

I made export RTF for this purpose. I enabled it for everybody as i thought it was a useful feature.
I will make export HTML that will use CSS.
  Topic: Publishing Bascom Code
albertsm

Replies: 6
Views: 2820

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 24, 2004 2:54 pm   Subject: Publishing Bascom Code
Hi,

I made export RTF for this purpose. I enabled it for everybody as i thought it was a useful feature.
I will make export HTML that will use CSS.
  Topic: SW UART
albertsm

Replies: 5
Views: 2391

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 24, 2004 2:51 pm   Subject: SW UART
As the is not buffer and inkey() only checks the startbit, when your other code runs and the startbits is gone, it will not detect the byte.
so use waitkey(), or use inkey() in combination with an in ...
  Topic: Case statment problem.
albertsm

Replies: 4
Views: 1808

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 24, 2004 2:48 pm   Subject: Case statment problem.
make sure that all bitws can be set :
config portb=output
dim j as byte
do
portb=0
for j=0 to 7
portb.j = 1
waitms 1000
next
loop

this will make all pins 1. with some leds it is easy t ...
  Topic: Stack Pointer and Softwarestack overlap
albertsm

Replies: 6
Views: 2414

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 24, 2004 2:46 pm   Subject: Stack Pointer and Softwarestack overlap
Remove the $SIM when trying in real hardware.
-increase the HW stack to 40 bytes
-incease the SW stack to 40 bytes
  Topic: Error:239 Invalid code sequence because of AVR hardware bug
albertsm

Replies: 2
Views: 1304

PostForum: BASCOM-AVR Archive   Posted: Sat Jul 24, 2004 2:40 pm   Subject: Error:239 Invalid code sequence because of AVR hardware bug
Hi,

The new Mega chips have solved this hardware error.
In the 1.11.7.5 beta the compiler will know which chips have this problem, and which chips do not.
Now, the compiler thinks every chip has ...
  Topic: bascom and mega64 I2C/TWI
albertsm

Replies: 2
Views: 1659

PostForum: BASCOM-AVR Archive   Posted: Mon Jul 19, 2004 12:05 am   Subject: bascom and mega64 I2C/TWI
Hi.

the TWI is not supported but i finished TWI support that is tested now.
In the next beta you will have the option for TWI master (and for TWI slave)
  Topic: SW UART
albertsm

Replies: 5
Views: 2391

PostForum: BASCOM-AVR Archive   Posted: Mon Jul 19, 2004 12:03 am   Subject: SW UART
As the SW UART has no buffer, INKEY() will check if there is a startbit.
But when you checked, and there is none, short after this, the startbit/byte could come !
I used SW UART in combination with ...
  Topic: compatibilty of DS18S20
albertsm

Replies: 2
Views: 1602

PostForum: BASCOM-AVR Archive   Posted: Sun Jul 18, 2004 11:58 pm   Subject: compatibilty of DS18S20
Hi,

Look in the help at Hardware and 1wire.
Notice that Mega8535 runs on internal osc. by default.
This is important for the timing.
  Topic: interrupts and branching
albertsm

Replies: 3
Views: 1787

PostForum: BASCOM-AVR Archive   Posted: Sun Jul 18, 2004 11:57 pm   Subject: interrupts and branching
When a statement is interrupted, the ISR will be executed, and the previous executing code will continue.
Make sure you have enough HW stack (40)
  Topic: Graphic LCD Support 128 * 128
albertsm

Replies: 6
Views: 3684

PostForum: BASCOM-8051 Archive   Posted: Sun Jul 18, 2004 11:55 pm   Subject: Graphic LCD Support 128 * 128
As 240*128 is supported, all the smaller size will work too.
So 128*128 is not a problem.
  Topic: LCD connections
albertsm

Replies: 4
Views: 2909

PostForum: BASCOM-8051 Archive   Posted: Sun Jul 18, 2004 11:53 pm   Subject: LCD connections
Set the pin to 0, and use LCDINIT command to re-init the display.
  Topic: Programming with a LCD
albertsm

Replies: 5
Views: 2527

PostForum: BASCOM-AVR Archive   Posted: Fri Jul 02, 2004 8:42 pm   Subject: Programming with a LCD
Using the dedicated lcd driver will result in smaller code size.
The default driver is for worst case scenario when you can use pins from different ports !!!
The dedicated driver uses fixed pins wh ...
 
Page 341 of 343 Goto page Previous  1, 2, 3 ... 340, 341, 342, 343  Next
All times are GMT + 1 Hour
Jump to: