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

BASCOM-AVR : Atmel-ICE Porgrammer : NEWTOPIC

Hello! I want to buy a new Atmel's programmer. It's call Atmel-ICE. And I have a question. Atmel ICE here: http://www.atmel.com/webdoc/atmelice/index.html Is Bascom support this programmer? I was...

View Article


BASCOM-AVR : TFT with ILI9341 controller : REPLY

I rewrote some fundamental procedures in ASM, then the display is faster now ! Just replace these routines in the file ILI9341_routines.inc : [code:1:81fe25b0d9]...

View Article


BASCOM-AVR : ESP8266 WIFI to serial board gets NTP time : REPLY

Hi Wilfred, what/which firmware did you use for (ESP-01?)? Nice work, thanks for posting. Jim

View Article

BASCOM-AVR : RC ppm : NEWTOPIC

Hi, I'm trying to decoding ppm from an rc radio and I have a problem. I get three pulses that are 1 or 2 ms I use Config Timer1 = Timer, Capture Edge = Rising, Prescale = 8, Noise Cancel = 1 see...

View Article

BASCOM-AVR : ESP8266 WIFI to serial board gets NTP time : REPLY

Hi Jim, thanks :-) I don't know yet, as I am not at home until tomorrow But If you look at the AT commands, and the AT commands of your version, and they match you can probably use this code. Wilfred

View Article


BASCOM-AVR : CRC32 of I2C EEPROM? : NEWTOPIC

I have an external 128kbyte/1Megabit EEPROM on my AVR project. Question is, how would I do a CRC32 of the contents inside? I looked up the reference on CRC and it shows examples on how to calculate...

View Article

BASCOM-AVR : Inserting bytes into a word : NEWTOPIC

I know i should probably know the answer to this, but its been awhile since I had done it. I do know you can break a word down into two bytes by using Low() and High(). But what about the other way...

View Article

BASCOM-AVR : TFT with ILI9341 controller : REPLY

[quote:f72609e7b5="aphawk"]I rewrote some fundamental procedures in ASM, then the display is faster now ![/quote:f72609e7b5] Why do you put all that unnecessary save Rx/SREG-stuff inside these...

View Article


BASCOM-AVR : Inserting bytes into a word : REPLY

Overlay or Makeint().

View Article


BASCOM-AVR : Inserting bytes into a word : REPLY

Yea, I figured out the overlay part. Issue is I am using it in a subroutine and defined it as a local. Apparently the compiler doesn't support At Overlay in the local dim statements.

View Article

BASCOM-AVR : CRC32 of I2C EEPROM? : REPLY

Hi, Just write your own checksum routine, or copy smaller blocks into ram and create a CRC on that block. Regards Ian Dobson

View Article

BASCOM-AVR : CRC32 of I2C EEPROM? : REPLY

That means I would have to create a CRC for every single 128 byte block. I would rather CRC the whole binary, given the block size. Is it possible to chain CRCs? I guess I could just do a simple CRC8...

View Article

BASCOM-AVR : CRC32 of I2C EEPROM? : REPLY

Hi, Maybe you could use CRC16UNI where the initial or polynomial is the value from the previous block. So you just need a simple loop that reads 128byte blocks, creating a CRC from the block (using...

View Article


BASCOM-AVR : Inserting bytes into a word : REPLY

If you need only word-spaced access, you can overlay the byte array with a word array, so wordarr(3) would access bytes(5) and (6). Assumed CONFIG BASE<>0. You won't be able to access for...

View Article

BASCOM-AVR : CRC32 of I2C EEPROM? : REPLY

See last post of [url=http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=9354&highlight=crc32]this topic[/url] how Reinhars calculates crc16 over a file....

View Article


BASCOM-AVR : TFT with ILI9341 controller : REPLY

Hi, MWS, I don't have many knowledge about the inner works in Bascom. Then I think that I must be sure that I don't change anything that can cause some problem in the code. You mean that I don't need...

View Article

BASCOM-AVR : TFT with ILI9341 controller : REPLY

Paulo http://rn-wissen.de/wiki/index.php/Assembler_Einführung_für_Bascom-User Perhaps you could put this page through Google translate. I am also very carefull about using asm in Bascom. Have fun Ben...

View Article


BASCOM-AVR : RC ppm : REPLY

Hello Mazneo, Here is some information about the input capture function: [quote:3485a45afd]The Input Capture function of Timer/Counter1 provides a capture of the Timer/Counter1 contents to the Input...

View Article

BASCOM-AVR : TFT with ILI9341 controller : REPLY

[quote:9bdd9dfa30="bzijlstra"]http://rn-wissen.de/wiki/index.php/Assembler_Einführung_für_Bascom-User[/quote:9bdd9dfa30] Ben, edit your link, it does not work, other by copy and paste. Paulo, Asm in...

View Article

BASCOM-AVR : RC ppm : REPLY

Hi jrkahrhoff, Pulsein ? Action Returns the number of units between two occurrences of an edge of a pulse. Syntax PULSEIN var , PINX , PIN , STATE Remarks var A word variable that is assigned with the...

View Article
Browsing all 20688 articles
Browse latest View live


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