BASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
with all the nops i do not really see the benefit of asm. here is some BASCOM code : for x=1 to Last_channel bR0=led_buffer(x) for y=7 to 0 step -1 set SDI if bR0.y=0 then waitus delay1 else waitus...
View ArticleBASCOM-AVR : Hardware uart config serial buffer size : REPLY
yes a ringbuffer will do nice. just use bytes instead of strings and fill the buffer in the UDRX interrupt.
View ArticleBASCOM-AVR : waitus question : REPLY
Thank you Mark, I'm glad it was not hard to fix. Best Regards, Dave
View ArticleBASCOM-AVR : Canbus Noob. Help Required please : REPLY
Hi Still having problems at getting the communications going between the 2 Modules. I'm wondering if it is a timing issue. Do i have to run a external Crystal or is the Internal RC Occ good enough @...
View ArticleShare your working BASCOM-AVR code here : Poor man's Rolex.... : REPLY
Hello! [quote:1b2b65fcaf="bzijlstra"]Would be nice if you could publish a picture of the finished clock in Russian.[/quote:1b2b65fcaf] http://bascom.at.ua/publ/neobychnye_chasy/1-1-0-83
View ArticleShare your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
Hi [url=http://avrproject.ru/publ/kak_podkljuchit/rabota_s_datchikom_vlazhnosti_dht11_v_bascom_avr/2-1-0-72#ent2479]There[/url] is a working code for DHT11 and DHT22.
View ArticleBASCOM-AVR : LCD not working with ATmega32m1 : REPLY
Thanks for trying out the code and suggestions. I will work on it and try 8 data lines to see if that has an effect and then see if support has some suggestions now that I have a second opinion that...
View ArticleBASCOM-AVR : Canbus Noob. Help Required please : REPLY
i think i read somewhere that you must use an external xtal. if you do use internal osc. that at least make sure it runs the right speed : no clock division set. a simple toggle program could test that.
View ArticleShare your working BASCOM-AVR code here : Poor man's Rolex.... : REPLY
that was nice max50. good to see you finished the project. It was nice for me to see it in a foreign language.
View ArticleEASY TCP/IP : Atmega32 and Wiznet W5100 : REPLY
[quote:93eac67169="bzijlstra"]What about the leds on the Wiz810mj? Do you get a link? Two leds, which one is on. On the switch do you have a link? On what voltage your Atmega32 is running? Is it...
View ArticleShare your working BASCOM-AVR code here : Poor man's Rolex.... : REPLY
Very nice!! Spaciba! Thanks for the pictures. Ben Zijlstra
View ArticleShare your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY
I have been working with the DHT11 sensor but was not happy with the humidity results I know the code works as I can calculate the crc correctly, the problem was the sensor never gives anywhere near...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
Thank you all! I wil have a go at it this weekend. Jim
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
Well, I was eager to try the suggested code and the results: Some FYI: - In the code I only write to one single led solely for dataframe checking purposes, this is what you see in the analyser shot. -...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
maybe you can optimize Mark's code: [code:1:7afe86662f] for x=1 to Last_channel for y=7 to 0 step -1 set SDI if led_buffer(x).y=0 then waitus delay1 else waitus delay2 end if reset SDI next next...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
which clock freq. do you use? And did you test it to see it is the clock you think you are using? at a low clock it will matter, but at 16 mhz it should not matter much. but i wonder why anyone would...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
[quote:c546d6da96="albertsm"]... but than i do not understand all the nops.[/quote:c546d6da96] Did you notice that one NOP takes one cycle, which is 0,03125µs per NOP at 32MHz. For the shortest waitus...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
yes i know 1 nop takes 1 cycle. at 1 Mhz it is 1 uS. But indeed at 32 Mhz, you need 32 nops. a bit waste of code. the compiler will create different code depending on the clock freq. in some cases it...
View Article