Quantcast
Browsing all 20577 articles
Browse latest View live

BASCOM-AVR : Buffered serial in handling ASCII STX and ETX, $02 and $03 : REPLY

hello , i use buffered serial for my xbee comm for m32 with no problem stx=&h02 not $02 pls check again ...

View Article


BASCOM-AVR : Buffered serial in handling ASCII STX and ETX, $02 and $03 : REPLY

Hi, Show us some code that your using. Maybe the Problem is something else, are Interrupts enabled? Regards Ian Dobson

View Article


BASCOM-AVR : I2C clock error : REPLY

Hi Paul, Looks quite good accuracy. I couldn't locate battery voltage... Does it take li-ion cell ?. Regards, Devidas

View Article

Various : Problem with USB-ISP programmer and Mega644 : REPLY

I tried all the speeds ... from 0 to 10 and it didn't change something. I also tried a second Mega644 ... still the same. Really strange ... and the programmer connected to a Mega8515 board , it works...

View Article

BASCOM-AVR : I2C clock error : REPLY

Hello Devidas I use 3 volt lithium same as used in PCs Note I got my ones from R S Components Regards Paul

View Article


Various : Problem with USB-ISP programmer and Mega644 : REPLY

early models did not have an option to change the speed. the manufacturer add it later. but it is there since some years. if the ID can not be read, the programmer will not program the chip. you can...

View Article

BASCOM-AVR : Sample Electronics programmer not working in Win 7 : REPLY

Hi Mark, The BIOS, PCI bus and OS will automatically take care to assign addresses to the PCI card when the PC is powered on and the OS booted. With Bascom you are using the card in SPP mode so the...

View Article

BASCOM-AVR : what is possible with interrupt ? : NEWTOPIC

Hi everybody, I have a lot of questions about interrupt possibility: I try to explain my problem. I have a I2C device that have a "ready" line that give a window to communicate with him. the µc can...

View Article


BASCOM-AVR : what is possible with interrupt ? : REPLY

Sounds a bit confused. Depends what one talks about, there's a difference between ATTiny/ATMega and ATXMega. In the former as long an interrupt service routine is executed, all other interrupts are...

View Article


BASCOM-AVR : what is possible with interrupt ? : REPLY

hello, Sorry I have forgot to say that I'm working on a Atmega 88pa. my problem is that in the interrupt routine I just set a flag, but the interrupt from the IQS are so quick that when I goes out the...

View Article

BASCOM-AVR : what is possible with interrupt ? : REPLY

[quote:011e0a4cb4="Vincent"]...IQS are so quick that when I goes out the ISR routine that a new interrupt is coming. then the result is that i'm so if I loop in the interrupt routine. hope is litlle...

View Article

BASCOM-AVR : what is possible with interrupt ? : REPLY

hello, ok sorry for my bad English. then here is the main code [code:1:4121a15433] Do Select Case Flag_interrupt 'Print "lecture prox" Case 1: Disable Interrupts Disable Pcint0 'sreaming mode on...

View Article

BASCOM-AVR : Buffered serial in handling ASCII STX and ETX, $02 and $03 : REPLY

Thanks for stepping in guys ! I stripped down the program to basics .. Here are the two programs: rev3 uses plain ASCII as message and terminates with <CR><LF>. This works....

View Article


BASCOM-AVR : Buffered serial in handling ASCII STX and ETX, $02 and $03 : REPLY

the command INPUT needs a CR/LF (dependig on CONFIG INPUT - see help) as end-of-line marker, independent of your bytematch setting. Use a loop with INKEY-statements in your serial0charmatch-routine,...

View Article

BASCOM-AVR : what is possible with interrupt ? : REPLY

[quote:1b5c000cc6="Vincent"]then here is the main code[/quote:1b5c000cc6] Hmm, one can't compile that, even the declaration which interrupt is used for the ISR is missing. [quote:1b5c000cc6]but the...

View Article


BASCOM-AVR : Buffered serial in handling ASCII STX and ETX, $02 and $03 : REPLY

Hi Plons, Your using in your isr [b:1da1dc1325] Input Cmd_string [/b:1da1dc1325] and [b:1da1dc1325]input[/b:1da1dc1325] must be terminated with Cr+Lf so the isr keeps on waiting here. Maybe your rfid...

View Article

BASCOM-AVR : Buffered serial in handling ASCII STX and ETX, $02 and $03 : REPLY

So that's the cause. Now I owe you 2 beers, at least ... Thank you very much ! Nard

View Article


BASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY

Hi, Could it be your trying to grab data from a iDTRONIC ECO 125 RFID reader? If so I already have a serial interrupt driven routine to grab the data and a function that decodes the RFID/checks the...

View Article

BASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY

Hi Ian, It's indeed a RFID reader module, but comes from Itead Studio. May be the very same as yours :) Two years ago I wrote a routine called My_buffered_serial_in to fix another problem: I didn't...

View Article

BASCOM-AVR : Buffered serial in handling ASCII STX and ETX [solved] : REPLY

Hi, OK here's the code I'm using:- Serial ISR: [code:1:4681659e33] 'Function : Read serial character from com2. If it's &h02 reset buffer, ' If the bufer contains 13 characters, copy the array...

View Article
Browsing all 20577 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>