BASCOM-AVR : Rotary Encoder - 2 bit grey code : REPLY
well i have made this code because the command ENCODER in bascon don t work correctly with my cheaper encoder ' test atmega8 ENCODER ROTARY OK ' par Noël BENOIT ' $regfile = "m8def.dat" ' specify the...
View ArticleBASCOM-AVR : Bug in "IF...THEN...ELSE" when using the 1-line-fo : REPLY
[code:1:6ea8084ee1]If A = 1 Then : B = 2 : Else : C = 3 : D = 4 : End If [/code:1:6ea8084ee1] It's very handy to know you can execute the above sample in Bascom as shown by Visovian. Traditionaly in...
View ArticleBASCOM-AVR : $DBG on second HW UART? : NEWTOPIC
Hi, the hardware is made, the programm.hex is about 60KB, and NOW I start thinking of trying $DBG.... :oops: My problem: I'm using mega1284P, and its 2HW UARTS: Config Com1 = 19200 , Synchrone = 0 ,...
View ArticleBASCOM-AVR : RTTY decode? : REPLY
[quote:8ac689a129="Paulvk"]Hello Ken RTTY does that bring back memories, since its just mark and space like the infra-red work I did I think my programs that decode the infra-red would be able to...
View ArticleBASCOM-AVR : RTTY decode? : REPLY
[quote:d7633b8d25="KenHorse"]Color me slow but where can I find your blog?[/quote:d7633b8d25] Let me color you :D Forum Main --> look for blog, find "BASCOM Project Blog" ---> look for...
View ArticleBASCOM-AVR : Read Watchdog Timer : NEWTOPIC
Hello, If it possible to read the count value of the Watchdog Timer to a variable? Thanks Best regards toto [b:5341b23823][color=red:5341b23823](BASCOM-AVR version : 2.0.7.2 , Latest : 2.0.7.6...
View ArticleBASCOM-AVR : Read Watchdog Timer : REPLY
Don't know what cpu you use, but looking at the M128 datasheet it's not possible.
View ArticleBASCOM-AVR : $DBG on second HW UART? : REPLY
there is a work around : make a backup of the dat file, then swap the addresses for uart0 and uart1. this will address uart0 as 1 and vice versa.
View ArticleBASCOM-AVR : Calculator percent error rate in the port : REPLY
[quote:cdecaf3c90]but Immersed cumulative form, ie if the packets are small, it is possible to work with a high percentage of errors). [/quote:cdecaf3c90] Of course sending small packets allows for...
View ArticleBASCOM-AVR : Using a non-available/non-allowed channel with GETADC : REPLY
[quote:55d6267678] the origin of bascom is too make programming processors simple [/quote:55d6267678] I agree, but progrmmers still have to learn to program, and respect what happens when they make...
View ArticleBASCOM-AVR : LCD not working with ATmega32m1 : NEWTOPIC
Hello Group, Has anyone had difficulties with LCD's not displaying anything with ATmega 32m1 or 16m1. I have tried both and don't see what I'm missing and could use some help. Using almost the exact...
View ArticleBASCOM-AVR : Using a non-available/non-allowed channel with GETADC : REPLY
[quote:6ab1886aa3="albertsm"]I could add a range check but it would mean that we need to check all datasheets again to check the range. And it is not sufficient to only check a constant, a passed...
View ArticleBASCOM-AVR : $DBG on second HW UART? : REPLY
Thank you for your workaround. I had the same idea, but it still is a bit of work on HW and SW, so I hoped there was a hidden "$DBG #2"...
View ArticleBASCOM-AVR : Using a non-available/non-allowed channel with GETADC : REPLY
[quote:6582e3f356="astroschmidt"]But perhaps the issue could be mentioned in the help-file for the GETADC-function.[/quote:6582e3f356] Aka [b:6582e3f356]"Objects in rear mirror are closer than they...
View ArticleBASCOM-AVR : bascomp and Proteus 8 : NEWTOPIC
Hay all I have a question about Proteus 8. is it possible to use bascomp.exe in Proteus as an plugin compiler? I can use win-avr and other compilers but I dont know if it also possible is to use...
View ArticleVarious : bascomp and Proteus 8 : REPLY
you might need to update your proteus, but yes it will work. bascom is supported and in fact you should be able to select it from the list. One thing to warn about : it will all work out fine but once...
View ArticleAVR : Loader firmware via serial port : REPLY
you may use avr mcs bootloader , search avr forum ...
View ArticleBASCOM-AVR : [Ask] What's up with this program, direct active ? : NEWTOPIC
Why when entering commands do and after 10 portb.0 wait is always worth the high, even though the sensor has not detected anything? And what if you receive a call portb.0 have low value until the...
View ArticleBASCOM-AVR : [Ask] What's up with this program, direct active ? : REPLY
your program list : $regfile = "m8535.dat" $crystal = 12000000 $baud = 19200 $hwstack = 32 $swstack = 10 $framesize = 40 Config Pina.0 = Input Config Pina.1 = Input Config Pina.2 = Input Config...
View Article