Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | need some help with bx-24

Discussion forum for the BasicX family of microcontroller chips.

need some help with bx-24 - eyal_munteanu - Dec 7 0:37:47 2007


Hi

I got the basicx-24 developer kit and I'm trying to connect a LED to
each programmable pin of the chip and I run into a problem:

A) If I connect the (-) side of the led to pin23 and then the (+) side
of it to another pin between 5 and 20, the LED reacts to the program
I'm running on it (with the provided basicx downloader v2.1) but it
gives a weak light.

B) If I connect the (+) side of the LED to pin24 and the (-) of it to
one of the other pins between 5 and 20 it give a constant bright light
but the LED doesn't react to the program.

What should I do, In order to get a bright light and to make the LEDs
react to the programming?

This is the programme:

Public Sub Main()

call putpin (26,0)

call rutina

End Sub

public sub rutina()

do

register.porta = bx00000000

register.portc = bx00000000

call delay(1.0)

register.porta = bx11111111

register.portc = bx11111111

call delay(1.0)

loop

end sub

THANK YOU

Eyal Munteanu

[Non-text portions of this message have been removed]



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )