Quantcast
Channel: MCS Electronics Forum
Browsing all 20558 articles
Browse latest View live

BASCOM-AVR : [solved] simple SPI problem : NEWTOPIC

Hi everybody, I did'nt understand well the spi protocol, Mark help me a lot I do a simple protocol between 2 µp 1master and 1 slave Next step: the use of spi components as DS3234 RTC I added the files...

View Article


BASCOM-AVR : Exists a way to implement a Timeout? : REPLY

Hi, Why not use inkey to grab individual Bytes, that you copy into an Array and when youget the end of message character process the message. I quite often put the Serial Input processing in a uart...

View Article


BASCOM-AVR : Exists a way to implement a Timeout? : REPLY

Hi i.dobson, I never have used Inkey and dont know if it works for my case then in the Inputbin stream i receive the bytes quantity information to fill the byte array, thats why i use inputbin. But if...

View Article

BASCOM-AVR : Exists a way to implement a Timeout? : REPLY

$Timeout ?

View Article

BASCOM-AVR : Exists a way to implement a Timeout? : REPLY

Hi, inkey is like inputbin, just that it gets one character. So you need to manually copy the result into an Array. Regards Ian Dobson

View Article


BASCOM-AVR : AtTiny85 as I2C slave : REPLY

hi madf, send an email to support@ and i will get you the libs and compiler update.

View Article

BASCOM-AVR : KS0108 Display: Trouble with higher clock speed : REPLY

yes, i can only agree with that :D Thanks O-Family for sorting this out. i updated the driver too.

View Article

BASCOM-8051 : Disable INT0 is not compiled. Compiler version: 2.0.14.0 De :...

Please see the attached code in "Testice.bas". The external interrupt INT0 is still enabled in spite of the instruction in the line after "Waitmse 690". No error message after compilation. Can anyone...

View Article


EASY TCP/IP : Problem with TCPREAD function : NEWTOPIC

Greetings, I have a simple web server running in an atmega328P based on the sample web server code from the sample files. I'm using a WIZ810MJ module with the W5100 chip and using the latest Bascom...

View Article


EASY TCP/IP : Timer 0 ,2 : REPLY

Hi Nico, Here's how I configure a Timer to do something like what you're doing. [code:1:d0d7172c1f] Config Timer2 = Timer , Prescale = 1024 , Clear Timer = 1 On Oc2a Timer2_isr 'point to interrupt...

View Article

BASCOM-AVR : PWM for Sinus generator too low in frequency : REPLY

OK merci je vais suivre ces pistes

View Article

BASCOM-AVR : ATmega128 : NEWTOPIC

Hi, I am playing around now with a [i:5e62e3d73a]new [/i:5e62e3d73a]ATmega128. The first test (time consuming, but unsuccessful) was to print on both UARTs using this code: [code:1:5e62e3d73a]$regfile...

View Article

BASCOM-AVR : ATmega128 : REPLY

What about the fuses, did you disabled the M103 compatible mode? Do you have the M128 or the M128A? Doesn't look that are much difference between them http://www.atmel.com/Images/doc8166.pdf

View Article


BASCOM-AVR : ATmega128 : REPLY

[quote:7fa7c70dfb]did you disabled the M103 compatible mode? [/quote:7fa7c70dfb] That question was to be expected....It was disabled. When writing the post, I missed to say that. [quote:7fa7c70dfb]Do...

View Article

BASCOM-AVR : ATmega128 : REPLY

Port F draws power from AVcc. Did you connect that pin64 to Vcc and pin63 to Gnd ? I agree, it's odd that portF influences your various programs: that's why I looked for an odd possibility ;)

View Article


BASCOM-AVR : ATmega128 : REPLY

Why are you setting the whole port D and E as output after the serial port's are initialized? RXD shouldn't be configured as output. In the m128.bas sample it also not done.

View Article

BASCOM-AVR : ATmega128 : REPLY

[quote:3ca05066dc]Did you connect that pin64 to Vcc and pin63 to Gnd ?[/quote:3ca05066dc] Yes, I have a "Crumb-light" board. I have a second, still virgin, board. Once I have soldered in the headers I...

View Article


BASCOM-AVR : ATmega128 : REPLY

To Evert :-) [quote:a47d9948b4]Why are you setting the whole port D and E as output after the serial port's are initialized? [/quote:a47d9948b4] Since nothing came out of TXs I had tested with those...

View Article

BASCOM-AVR : ATmega128 : REPLY

From datasheet: [quote:837fc46ab1]PDO/TXD0 – Port E1 PDO, SPI Serial Programming Data Output. During Serial Program Downloading, this pin is used as data output line for the...

View Article

BASCOM-AVR Old versions : Chip Hangs : REPLY

Is there a chance there is a Division by Zero? Maybe you can do a forced test to see if it hangs.

View Article
Browsing all 20558 articles
Browse latest View live


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