BASCOM-AVR : Canbus Noob. Help Required please : REPLY
Yip fitted a 8MHZ crystal and i'm all go Fuse bit 7 1:Clock Divide by 1 Clocking fuse bits 101111:Ext. Crystal Osc. Thanks Snowie Posts comming up about IDMasking and IDTags :)
View ArticleBASCOM-AVR : [help] program is not working as it should : NEWTOPIC
initially created the program to turn the call and worked buzer well when tested: [quote:bad5cbd7a1]$regfile = "m8535.dat" $crystal = 12000000 Config Portb.0 = Output Portb.0 = 0 Dim A As Byte Do A =...
View ArticleBASCOM-AVR : Can Bus ID_Mask and ID_Tag questions : NEWTOPIC
After doing a heap of googling im getting more confussed as ever. What i want to understand is the way the [code:1:f0e7d456bb]Config Canmob = 0 , Bitlen = 11 , Idtag = &H0120 , Idmask = &H0120...
View ArticleBASCOM-AVR : [help] program is not working as it should : REPLY
$hwstack = ?? $swstack = ?? $framesize = ?? pina active when high pulldown portA at power on Print "[color=red:43908e3423]AT+CALM=a[/color:43908e3423]" ; A WRONG , cmd not working
View ArticleBASCOM-AVR : [help] program is not working as it should : REPLY
[quote:d0160fa850="kimmi"]$hwstack = ?? $swstack = ?? $framesize = ?? pina active when high pulldown portA at power on Print "[color=red:d0160fa850]AT+CALM=a[/color:d0160fa850]" ; A WRONG , cmd not...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
Jim. would you be interested to test some "monster"-code ? Have no hardware here, so I can't do that myself. Replaced a ton of NOPs against another ton of code, exactly I do bit-banging via UART-SPI...
View ArticleBASCOM-AVR : [help] program is not working as it should : REPLY
make sure that portA is low you use buttons HIGH and this will block you'r code [code:1:ab60b6fc2e]A = Inkey() If A > 0 Then Print "AT+CALM=a" ; A Portb.0 = 1 Waitms 50 Portb.0 = 0 Wait 3600 End If...
View ArticleBASCOM-AVR : [help] program is not working as it should : REPLY
[quote:fdc5dd1c64="kimmi"]make sure that portA is low you use buttons HIGH and this will block you'r code [code:1:fdc5dd1c64]A = Inkey() If A > 0 Then Print "AT+CALM=a" ; A Portb.0 = 1 Waitms 50...
View ArticleBASCOM-AVR : [help] program is not working as it should : REPLY
why don't you try use forum search funktion there is alot of code for SMS and RING detect search for SMS or AT+CLIP=1
View ArticleBASCOM-AVR : AVR CAN BUS : REPLY
Hi Still problems with CAN interface. To make sure I have the correct compiler I updated again yesterday. The sample code in the CANCONFIG help file is still not working. On Canit Can_int ' define the...
View ArticleBASCOM-AVR : [help] program is not working as it should : REPLY
[quote:bca5147866="kimmi"]why don't you try use forum search funktion there is alot of code for SMS and RING detect search for SMS or AT+CLIP=1[/quote:bca5147866] I've tried looking for it, but I...
View ArticleBASCOM-AVR : AVR CAN BUS : REPLY
Are you using the code in the Bascom Help? Please post the code you are using and i will see if i can help (no promises thou) Thanks Snow
View ArticleBASCOM-AVR : AVR CAN BUS : REPLY
you can load the sample from the samples folder.(use open Sample from the menu). it is always tested before the software is released.
View ArticleBASCOM-AVR : Can Bus ID_Mask and ID_Tag questions : REPLY
it is explained in the atmel data sheet.
View ArticleBASCOM-AVR : AVR CAN BUS : REPLY
Hi Snow Yes for a start I just use the sample code - just to get a byte sent . Latest compiler update . I use a 90can128 at 16MHz so I need change that in the code and I check portA for input change...
View ArticleBASCOM-AVR : AVR CAN BUS : REPLY
To get things going, load the sample from the samples folder. Only if that works you can go and change other things like speed, ports, etc. And you should post(zipped) your modified code. The sample...
View ArticleBASCOM-AVR : AVR CAN BUS : REPLY
Hi Mark Yes loaded sample code - this one does compile without errors ( modified can128 and xtal on 16 MHz) Will pgm soon to test. Cheers
View ArticleBASCOM-AVR : AVR CAN BUS : REPLY
Hi Pgm to chip - with 2nd node in listen mode - no filters setup. BASCOM Program does read and respond to my key press - info sent on serial port " OK : 16 " so the pgm does run in cpu TX CAN byte...
View ArticleBASCOM-AVR : AVR CAN BUS : REPLY
16 means bit 4 is set. and for the can128 this means : Bit 4 BERR: Bit Error (Only in Transmission) This flag can generate an interrupt. It must be cleared using a read-modify-write software...
View ArticleShare your working BASCOM-AVR code here : HONEYWELL HIH-6130/21 Humidity...
If you need some sort of accuracy in a lower cost temperature and humidity sensor the the Honeywell HIH-6130, HIH6121 is a good choice they are I2C so easy to connect to the AVR . I have tried the...
View Article