Author |
Message |
Topic: Xtiny212 and power modes |
i.dobson
Replies: 12
Views: 3763
|
Forum: BASCOM-AVR XTINY/MEGAX/AVRX Posted: Thu Jul 21, 2022 6:11 pm Subject: Xtiny212 and power modes |
Hi,
Have a look in the help text for "Config Power_reduction" maybe you need to configure what's switched off in power saving.
Regards
Ian Dobson |
Topic: Addressable LED's ? |
i.dobson
Replies: 7
Views: 2990
|
Forum: BASCOM Project Blog Posted: Sat Jul 02, 2022 7:33 am Subject: Addressable LED's ? |
Hi,
I had a project using WS2812 and production was a real problem. Even though the correct reflow profile was used (Professional PCB manufacturer) we had a 10-20% failour rate where at least one L ... |
Topic: Question on .bin file format for smartphone OTA updates via |
i.dobson
Replies: 5
Views: 2216
|
Forum: AVR Posted: Mon May 02, 2022 4:22 pm Subject: Question on .bin file format for smartphone OTA updates via |
Hi,
The standard MCS bootloader/PC application uses the XMODEM protocol to transfer the program code, if I remember correctly.
Regards
Ian Dobson |
Topic: What function for exact asynchron ASK/OOK-Transmit? |
i.dobson
Replies: 4
Views: 542
|
Forum: BASCOM-AVR Posted: Mon Jan 31, 2022 9:18 pm Subject: What function for exact asynchron ASK/OOK-Transmit? |
Hi,
I'd use a timer to toggle the output, that's the only way to get accurate timings (you just need to make sure that other interrupts don't take too long/delay the timer).
I did something with ... |
Topic: ATXMega soft i2c in interrupt problem |
i.dobson
Replies: 6
Views: 675
|
Forum: BASCOM-AVR Posted: Mon Jan 24, 2022 7:40 pm Subject: ATXMega soft i2c in interrupt problem |
Hi,
What does your code look like? Maybe a change in the lib is using extra registers.
Regards
Ian Dobson |
Topic: lcd char problem |
i.dobson
Replies: 8
Views: 634
|
Forum: BASCOM-AVR Posted: Sun Jan 02, 2022 9:55 pm Subject: lcd char problem |
Hi,
I imagine they mean with HHLH - 1101 and HHHH - 1111. So the character you want is 11011111 binary or 223 decimal (which works in the simulator).
lcd "{223}C"
Regards
Ian Dobson |
Topic: lcd char problem |
i.dobson
Replies: 8
Views: 634
|
Forum: BASCOM-AVR Posted: Sun Jan 02, 2022 5:36 pm Subject: lcd char problem |
Hi,
Please supply code that repreduces the problem. Without code it's hard to help.
Regards
Ian Dobson |
Topic: Master Modbus error on ATMega2560 |
i.dobson
Replies: 8
Views: 741
|
Forum: BASCOM-AVR Posted: Wed Nov 24, 2021 10:04 am Subject: Master Modbus error on ATMega2560 |
Hi,
Please include code that shows the problem. Without it's not easy to help.
Regards
Ian Dobson |
Topic: Print problem with different bascom versions, ATXMega256A3BU |
i.dobson
Replies: 5
Views: 541
|
Forum: BASCOM-AVR Posted: Tue Nov 02, 2021 6:35 pm Subject: Print problem with different bascom versions, ATXMega256A3BU |
Hi,
If you think the problem is stacks, maybe try increasing them and see if the error changes or goes away.
If you really want to understand whats going on the stacks have a look at "stackchec ... |
Topic: Not exiting Powersave reliably |
i.dobson
Replies: 8
Views: 649
|
Forum: BASCOM-AVR Posted: Fri Oct 01, 2021 8:23 pm Subject: Not exiting Powersave reliably |
Hi,
I can't see where your actually enabling interrupts with "Enable Interrupts"
Regards
Ian Dobson |
Topic: LCD Powertip Init? |
i.dobson
Replies: 5
Views: 835
|
Forum: BASCOM-AVR Posted: Sun Sep 05, 2021 8:20 am Subject: LCD Powertip Init? |
Hi,
I've come across this https://www.makerconnect.de/index.php?threads/3-wire-lcd-mit-schieberegister.2211/
The comments are in german and the code uses a 75hc595 shift register, maybe you coul ... |
Topic: Rolling average to smooth sensor jitter |
i.dobson
Replies: 2
Views: 8047
|
Forum: Share your working BASCOM-AVR code here Posted: Fri Jul 16, 2021 9:05 am Subject: Rolling average to smooth sensor jitter |
Hi,
I've been using this code to smooth sensor values for several years.
Const _smoothing_factor = 3 'Nr.values for avg
Dim Pressure_accumulator(2) ... |
Topic: Error on com port 2 when acquiring GPS |
i.dobson
Replies: 11
Views: 695
|
Forum: BASCOM-AVR Posted: Fri May 21, 2021 1:13 pm Subject: Error on com port 2 when acquiring GPS |
Hi,
The inkey command in your example looks OK.
I'm using exactly the same command in my projects, so mybe try using the configuration commands that I included in my first post.
Regards
Ian ... |
Topic: Error on com port 2 when acquiring GPS |
i.dobson
Replies: 11
Views: 695
|
Forum: BASCOM-AVR Posted: Fri May 21, 2021 11:42 am Subject: Error on com port 2 when acquiring GPS |
Hi,
I'm not exactly sure whats wrong with your code, but here's the code I use for com1 & 2
'--- PC communications serial port --------------------------------------------
Config Com1 = 115 ... |
Topic: TMP117 digital temperature sensor |
i.dobson
Replies: 2
Views: 4767
|
Forum: Share your working BASCOM-AVR code here Posted: Sun May 09, 2021 12:05 pm Subject: TMP117 digital temperature sensor |
Hello,
JP requested someone to help him with getting a tmp117 temperature sensor working in Bascom (https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=14772) ... |
|