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

BASCOM-AVR : How to disable and enable COM2 or above : REPLY

you can best disable the interrupt using disable/enable UDRE2 (interrupt for receiving data).

View Article


BASCOM-AVR : How to do C Bitwise Operators in Bascom AVR : NEWTOPIC

I am lost with C and Bitwise operators, could anyone show me how to do the following C in Bawscom AVR [code:1:1715bdbdae] OSCICN | = 0x80; [/code:1:1715bdbdae] Also, is it possible to use Set/Clear on...

View Article


BASCOM-AVR : How to do C Bitwise Operators in Bascom AVR : REPLY

hi andyf97, Just had a look on the net ( I'm not a "C" person OSCICN | = 0x80; I think what you want is OSCICN= OSCICN or &H80 Dean

View Article

BASCOM-AVR : How to do C Bitwise Operators in Bascom AVR : REPLY

it means : set OSCICN.7

View Article

Share your working BASCOM-AVR code here : Those Damn Encoders. : NEWTOPIC

Hi all, I did the usual and trolled though the internet and this forum, on how debounce the Bourns type encoders. I tried the 555 pulse circuits, the 7414/7474 combinations and a lot of the programs...

View Article


BASCOM-AVR : Detecting multiple keypresses on matrix keypad : REPLY

[quote:8ba08f4365="albertsm"]you mean you want to press 2 buttons at the same time, and detect them as 2 different keys? that is not possible with matrix keyboards.(as far as i know) when you press 2...

View Article

BASCOM-AVR : How to do C Bitwise Operators in Bascom AVR : REPLY

Thanks guys, both ways work which helps a lot.

View Article

BASCOM-AVR : Read text files from pen drive usb : REPLY

I didn't quite understand what your need actually is, but if you need to give something to your customers which you can later verify to make sure they are 'genuine', how about Dallas/Maxim 1-wire...

View Article


Share your working BASCOM-AVR code here : MMCSD File Read/Write speed test...

I revisited this thread after updating this utility test program to the Xmega 128a1 Xplained platform. To find out I hadn't uploaded my previous additions to Glen's work. This code is for the...

View Article


Share your working BASCOM-AVR code here : MMCSD File Read/Write speed test...

I should also mention that in addition to the modes Glen was testing. I have added AVR-DOS RAW reads and writes. This program calculates the data transfer rates and reports them on the serial port.

View Article

Share your working BASCOM-AVR code here : MMCSD File Read/Write speed test...

Ok back to the reason why I revisited this thread. I have ported the ATmega128 code from the STK500/501 to Atmel's ATXmega128a1 Xplained board. I have commented out the AVR-DOS RAW Write section in...

View Article

Share your working BASCOM-AVR code here : MMCSD File Read/Write speed test...

I should mention one thing about using the tick timer. When I origonaly wrote this, [code:1:19ca353af3] '=====[ Setup Timer1 for Tick isr ]============================================ ' Timer1 is used...

View Article

Share your working BASCOM-AVR code here : MMCSD File Read/Write speed test...

Glen, Good point, one tick over the total number of ticks it would stack up. I will make the mod to the code. For the most part I use it as a baseline...All SD cards are not created equal, even in the...

View Article


BASCOM-AVR : Read text files from pen drive usb : REPLY

To read a USB thumb drive you need a device that can act as a USB Host. There are only a couple of AVR's that support USB Host Mode. See this Thread on AVR Freaks:...

View Article

EASY TCP/IP : WIZ820i0 : REPLY

so, One more problem. I try the sample code servertest_W5200.bas but I cannot connect to WIZ by tool Easy TCP/IP. If I mark check connect, the mark removes itself.

View Article


BASCOM-AVR : Clock,Date and Temperature, using atmega8..bascom code. : NEWTOPIC

Hy I want to make a clock with ATMEGA8 and 7-segment display. But this code does not contain the date, I need to place and time, but I do not know ... I can Juta someone? I can rewrite the code or...

View Article

BASCOM-8051 : BASCOM 8051 compatibility : REPLY

Together with Andy we got it working. With the attached DAT-file, and the two pictures from the datasheet. [code:1:b3067dee95]$crystal = 24500000 $regfile = "8051F930.DAT" OSCICN = OSCICN OR &H80...

View Article


EASY TCP/IP : WIZ820i0 : REPLY

I have here posted my documentation on your question http://wiki.mcselec.com/Getting_started_with_Arduino_and_WIZ820io

View Article

Share your working BASCOM-AVR code here : Meet the Helios : NEWTOPIC

At a fair last week, a gadget for the vistors. The Helios. An Arduino Leonardo compatible running at 3,3 volt on 8 Mhz. In the picture connected to a Diamex All-AVR programmer and a first test with...

View Article

Share your working BASCOM-AVR code here : Meet the Helios : REPLY

Hi Ben, Got one Helios to from the Ea fair to. Thanks for sharing the blinking led program ;-) amazing. Wifly module looks interesting and is not that expensive, about €23,00 Don't know if you found...

View Article
Browsing all 20558 articles
Browse latest View live


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