BASCOM-AVR : Atmega-128AU : REPLY
Evert, you are right. Super. I don't understand this. Sometimes I use PIN and sometimes I have to use PORT. Do you know why ?
View ArticleBASCOM-AVR : dont config graphics lcd : REPLY
Hi, When you post a qustion it will help if you add info of what mcu you use i'll guess you forgot about the JTAG and/or crystal setup for more help post a small sample code of your code
View ArticleBASCOM-AVR : Atmega-128AU : REPLY
Simple rule is; P[b:33e2db70ab]in[/b:33e2db70ab] with the [b:33e2db70ab]in[/b:33e2db70ab] from [b:33e2db70ab]in[/b:33e2db70ab]put P[b:33e2db70ab]o[/b:33e2db70ab]rt with the...
View ArticleBASCOM-AVR : dont config graphics lcd : REPLY
I use atmega 32 [code:1:3b98d7df82]$regfile = "m32def.dat" ' specify the used micro $crystal = 11059200 ' used crystal frequency $baud = 9600 ' use baud rate Config Portd = &B00000000 Config Portb...
View ArticleBASCOM-AVR : Mcs bootloader and watchdog (mcusr) : REPLY
I don't understand any of the above(prev posts) assembler, and I have trolled through all prev posts, but just more confused. I am chasing a random reset (once every few days - thousands of...
View ArticleBASCOM-AVR : Mcs bootloader and watchdog (mcusr) : REPLY
A Peek(0) gets R0, where the register value of MCUSR was saved by Bascom. Main program an bootloader don't know each other and so they don't share any variables, so the bootloader must save the result...
View ArticleBASCOM-AVR : Mcs bootloader and watchdog (mcusr) : REPLY
I initialise all variables so no issues there. So if i understand you correctly: In the bootloader, somewhere ( where ? ) I do something = peek(0) what is the something.?
View ArticleShare your working BASCOM-AVR code here : How to use 2 MSGEQ7 to give 14...
Thank you aphawk for your code. Here is another way to do the "if fase= then " it sometimes saves space in flash and always needs less typing the other advantage it is easy to add more tests. Regards...
View ArticleBASCOM-AVR : Mcs bootloader and watchdog (mcusr) : REPLY
[quote:4fe01505f7="njepsen"]what is the something.?[/quote:4fe01505f7] The something is of course a byte. [code:1:4fe01505f7]BL: Dim save_something As Byte At &h<first available byte of...
View ArticleBASCOM-AVR : define I2c pins more than once in single program? : NEWTOPIC
I have situation on which i would use two 16-bit AD converters (MCP3421), which are hard-wired to same address so i can't call them separately if i connect them to same SDA/SCL pins. So, i wonder can...
View ArticleBASCOM-AVR : strange biniary output Part2 : REPLY
[quote:d316352a1c="Evert :-)"]But the other conclusion we can make is that the Bascom simulator does not handle it good. It's shows the correct value instead the wrong.[/quote:d316352a1c] So does...
View ArticleBASCOM-AVR : Mcs bootloader and watchdog (mcusr) : REPLY
Got it. Thanks.I'll report back later with results.
View ArticleBASCOM-AVR : strange biniary output Part2 : REPLY
[quote:80501e4512="MWS"] So what? [/quote:80501e4512] I don't give a f*ck, just noticing it.
View ArticleBASCOM-AVR : Reading & writing to internal EEPROM : NEWTOPIC
I simply want to store some data in the EEPROM and read it out, however I cannot get it to work. The code is as follows: 'Program: eeprom testing Don Owen 10 July 2013 'Uses ATMega8535 micro...
View ArticleBASCOM-AVR : strange biniary output Part2 : REPLY
[quote:81915e3ce8="Evert :-)"]I don't give a f*ck, just noticing it.[/quote:81915e3ce8] I guess we all noticed it :D
View ArticleBASCOM-AVR : Reading & writing to internal EEPROM : REPLY
Hi, I think, it is like this: Write to EEPROM V = B or V = 7 Read from EEPROM B = V You can also use array: Dim V(3) as Eram Byte Dim B As Byte Example Write: V(1) = 7 Read: B = V(1)
View ArticleBASCOM-AVR : dont config graphics lcd : REPLY
About you'r Config Graphlcd Is this correct Config Graphlcd = 128 * 64 ? try Config Graphlcd = [b:cc9452fca1]128 * 64sed[/b:cc9452fca1] and remember to Disable JTAG when you use portC
View ArticleBASCOM-AVR Old versions : dont config graphics lcd : REPLY
moved your topic to this forum be cause you don't use newer bascom version
View ArticleShare your working BASCOM-AVR code here : ILI9325 display 2.4 inch 8 bit mode...
Hi max50, here is an example for Lanscape Mode. Hkipnik
View Article