Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 5144 matches
www.mcselec.com Forum Index
Author Message
  Topic: ATtiny26L....problems
albertsm

Replies: 11
Views: 3985

PostForum: BASCOM-AVR Archive   Posted: Sat Jun 19, 2004 10:57 pm   Subject: ATtiny26L....problems
tiny26 is supported.
Make sure you sink current : connect anode of LED to VCC, kathode of LED to resistor, and other side of resistor to POR PIN.
When you make the pin low, the LEDd should emit ligh ...
  Topic: Serial communication
albertsm

Replies: 4
Views: 3839

PostForum: BASCOM-8051 Archive   Posted: Sat Jun 19, 2004 10:52 pm   Subject: Serial communication
Look at the AN's at our web. There is a BASIC program that sends and receives an SMS message.
It uses Hayes (AT) commands.
  Topic: More different Interrupt routines in one program?
albertsm

Replies: 2
Views: 1990

PostForum: BASCOM-8051 Archive   Posted: Sat Jun 19, 2004 10:50 pm   Subject: More different Interrupt routines in one program?
While you can use multiple interrupts INT0, INT1 , etc.
You can not use multiple defenitions of SERIAL or INT0.
What happens if you use ON INT0, or ON INT1, ON SERIAL , is that a jump is made to th ...
  Topic: Move completed
albertsm

Replies: 0
Views: 1669

PostForum: Various   Posted: Sat Jun 19, 2004 10:46 pm   Subject: Move completed
As i informed you some weeks ago, MCS has completed the move to our new location.
Everything is connected, unpacked and working again.
During the last weeks not all incoming email was processed. So ...
  Topic: ADC question
albertsm

Replies: 7
Views: 3867

PostForum: BASCOM-AVR Archive   Posted: Thu May 20, 2004 12:16 am   Subject: ADC question
You need to eliminate 1 bit of the resolution.
You can do this by dividing by 2, or shift the result to the right.

Another solution would be to use an external a/d converter with higher resolution ...
  Topic: Programming the ezLCD
albertsm

Replies: 2
Views: 1983

PostForum: BASCOM-AVR Archive   Posted: Thu May 20, 2004 12:13 am   Subject: Programming the ezLCD
Do you have a URL of the device?
I never heard of it before.
  Topic: how tu return array from function ??
albertsm

Replies: 1
Views: 1870

PostForum: BASCOM-AVR Archive   Posted: Thu May 13, 2004 12:56 am   Subject: how tu return array from function ??
Yes , it is possible. You need to use :
dim abc(9) as byte
Declare Function moja (temp As Byte) as byte
abc(1) = moja(abc(1))
^^^^ always pass the first element of the arrray

Fun ...
  Topic: Pulse/Freq. Generation for Step & Direction Stepper Driv
albertsm

Replies: 4
Views: 2789

PostForum: BASCOM-AVR Archive   Posted: Thu May 06, 2004 10:54 pm   Subject: Pulse/Freq. Generation for Step & Direction Stepper Driv
I never used a stepper motor. But i am sure some one did this before.
When you do not get a reply, i can post some code to create a PWM signal with a M128 for example.
  Topic: Selecting between intrnal and external clock source
albertsm

Replies: 5
Views: 3201

PostForum: BASCOM-AVR Archive   Posted: Thu May 06, 2004 10:52 pm   Subject: Selecting between intrnal and external clock source
The $CRYSTAL directive only task is to inform the compiler about the speed of the oscillator. With this info, the baudrate can be calculated and the waitms, wait , etc. delayloops can be calculated. ...
  Topic: problem with 1wire
albertsm

Replies: 3
Views: 3017

PostForum: BASCOM-AVR Archive   Posted: Wed Apr 28, 2004 11:18 pm   Subject: problem with 1wire
Hi,

You need to add :
Config 1wire = Portb.0 'use this pin
Or use another pin.
Best is to look at the sample files. As some help will show only a partial hel ...
  Topic: TCP/IP does not run
albertsm

Replies: 6
Views: 8223

PostForum: Easy TCP/IP Archive   Posted: Sun Apr 18, 2004 5:51 pm   Subject: TCP/IP does not run
Hi Heiko,

Very good ! I forgot about the JTAG on the M162. Most new Mega chips have this JTAG interface. And when it is on PORTC, the externall addressing will not work. The W3100 is used in extern ...
  Topic: error in ip2str?
albertsm

Replies: 2
Views: 4400

PostForum: Easy TCP/IP Archive   Posted: Sun Apr 18, 2004 5:49 pm   Subject: error in ip2str?
Hi,

Look at the tcpip.bas sample.
It shows how the IP address is stored into a LONG.
The IPSTR() function works correct as far as i know.
The compiler handles the 4 byte offset. So it is not adv ...
  Topic: TCP/IP does not run
albertsm

Replies: 6
Views: 8223

PostForum: Easy TCP/IP Archive   Posted: Sun Apr 18, 2004 12:03 am   Subject: TCP/IP does not run
Hi,

The M162 is the right chip to use.
Did you tried the tcpip.bas sample file?
The M162 runs at 1 Mhz internal oscillator by default. You need to set the $crystal thus to 1 Mhz, or change the fu ...
  Topic: TCP/IP does not run
albertsm

Replies: 6
Views: 8223

PostForum: Easy TCP/IP Archive   Posted: Sat Apr 17, 2004 1:09 am   Subject: TCP/IP does not run
Hi,

Do you have external memory access enabled in Options, Compiler?
Try to make HW stack, SW stack and frame space, all 64.
Is the module fitted correctly? The IIM7000A is different compared wit ...
 
Page 343 of 343 Goto page Previous  1, 2, 3 ... 341, 342, 343
All times are GMT + 1 Hour
Jump to: