BASCOM Project Blog : The Weekend Project From Hell! $5 Power Supply Kit : REPLY
Hello, I'm impressed by the quality of the prepared documents - the schematic and the description. The description reads as if it were an electronic thriller :D It reads with interest and ease....
View ArticleBASCOM Project Blog : The Weekend Project From Hell! $5 Power Supply Kit : REPLY
Well done JC, a really nice piece of work, and I really enjoyed reading your text. Uh... I have an excellent Hameg 2x 0-30V 3A and 5V 1A laboratory power supply that's 20 years old and works very...
View ArticleBASCOM-AVR : Problem with 'Mid' and/or 'Left' functions : NEWTOPIC
They don't work like before. I am updating a 5 years old Bascom-Avr program. Is does not work anymore. I isolated the problem in a testprogram. The 3 Print-statements should give the same output. Not...
View ArticleBASCOM-AVR : Problem with 'Mid' and/or 'Left' functions : REPLY
the output is correct. in older versions where you get different output there was a bug which was fixed. MID statement may not write beyond the length of the string and that is what you do. the reason...
View ArticleBASCOM Project Blog : The Weekend Project From Hell! $5 Power Supply Kit : REPLY
Hi Everyone, Mark, thank you for the kind words! I never learned “C”, so it is only through your hard work creating, maintaining, and updating Bascom that I get to tinker with microcontrollers! My...
View ArticleBASCOM-AVR : Problem with 'Mid' and/or 'Left' functions : REPLY
Thank you for the reply. I modified the first line of the testprogram: [quote:1e7591aabb]Bufc = "$P3456" [/quote:1e7591aabb] Then I overwrite with 'mid' function. It works fine.
View ArticleBASCOM-AVR : new version 2087 : NEWTOPIC
This Easter we are a happy to report that version 2087 is released. Because of the ever growing supported processors the testing time was very long. We hope all bugs were removed. But if not, report...
View ArticleBASCOM-AVR : new version 2087 : REPLY
Happy Easter! Wow! What an impressive list of updates and bug fixes! Your continued support and improvement of Bascom is truly appreciated! JC
View ArticleBASCOM-AVR : new version 2087 : REPLY
Thank you Mark. So I installed it and made the necessary settings. I'll start testing it tomorrow. Jaroslav.
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : NEWTOPIC
Dear Forum, Mark has documented this problem very well. In my case, I ordered 25 of these uC and, when I received them, found out they were MCU_REVID = 06. When programmed with this code, the uC...
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : REPLY
Here you have :D Happy coding :D [code:1:39d16ec0b8]'***************************************************************** '* I2C CONFIG *...
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : REPLY
Thank you EDC for taking the time to help. In this case there is no level shifter - the slave pressure/temperature sensor is on 3V3. I would like to ask a favor (since I'm not so familiar with the...
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : REPLY
Im not familiar wit those sensors yet but i think your first "repstart" then "stop" causes the first exeption described in the note. Then consistent using the "repstart" dont clears the error that can...
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : REPLY
Thank EDC. Removing I2cREPSTART and I2cStop before the loop and using only I2cStart and I2cStop in the loop gives the same result. If you have a minute, please consider the requirements in the section...
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : REPLY
:arrow: enniom You don't need [code:1:aec1cef6d7] Const _twi_stop_2 = 1 [/code:1:aec1cef6d7] you must also change the entry [code:1:aec1cef6d7]Config Twi = 100000 [/code:1:aec1cef6d7] to...
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : REPLY
I would recomend some debug info even if you dont use any COMx form Xmega. Here, for example, I open a serial on PORTF.3 where I print the debug data. [code:1:61eaf952e8]$regfile = "XM192A3Udef.dat"...
View ArticleBASCOM-AVR : UPDI : REPLY
I use a simple fixture as shown in the picture to program ATtiny412 and AVR128DB48 via MCS-UPDI. I bought a few pieces of this module a few years ago on Ebay and it is displayed in the device manager...
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : REPLY
Thank you Jarek and EDC. You have given me more than enough to get started. In the future, we will ask the "Polish Connection" for help with I2C/TWI problems. :D E
View ArticleBASCOM-AVR : How to use TWIy on XMEGA with MCU_REVID < 7 : REPLY
If you finally find the cause of this troubles then you can convert that whole I2c routines into one line. [code:1:0834de619a]I2creceive Twi_addr , Rawb(1) , 0 , 4[/code:1:0834de619a] This will do...
View ArticleVarious : BT401 Bluetooth module with SPP support under BLE protocol : REPLY
Problem solved! To use AT-commands for switching over to SD-card depends on a 3k resistor on the clock line that the designer of the module have used to detect "card inserted" See attached schematics...
View ArticleBASCOM-AVR : new version 2087 : REPLY
Hello everyone, I installed version 2.0.8.7 via the 2.0.8.6 update. When I run it, I get the error below. I want to reinstall, always using 2.0.8.6, but when I tell it to check for updates, it gives...
View ArticleBASCOM-AVR : new version 2087 : REPLY
the error is because some usb device (probably mouse) is not hid compatible. you can try plug the mouse in a different usb port. i created a work around for this which i will release in another...
View ArticleBASCOM-AVR : UPDI : REPLY
i use the same converter. in all test boards i use them so i use a lot of them. one day i got a bad batch. could not see a difference. they worked as serial port but not as programmer. using same PC...
View ArticleBASCOM-AVR : running BASCOM on windows 11 arm error code 320 : NEWTOPIC
Hello, i have installed Bascom in a virtual windows 11 machine that is on a MacBook with an ARM cpu if a try to compile sorting is get "Error : 320 line : 0 [syntax error = '@ ']" , in File : this...
View ArticleBASCOM-AVR : running BASCOM on windows 11 arm error code 320 : REPLY
it is a syntax error. for some reason there is an @ in your code? make sure the file is ansi. your code works for me. you can also turn on invisible chars to see if your code contains odd invisible...
View ArticleBASCOM-AVR : new version 2087 : REPLY
I finally got 8087 working without error like Sielcon: My development PC is a DELL Inspiron 3881 Windows11 . I changed the mouse, it was still the same thing, I changed the keyboard, I took a horrible...
View ArticleBASCOM-AVR : new version 2087 : REPLY
if you want to test, write to support. i can give access to a test version. but you can also wait for the official release which will be there soon too.
View ArticleBASCOM-AVR : new version 2087 : REPLY
don't be worry Mark, I will wait. I'm retired and I have time. Many Many thanks for your works JP :wink:
View ArticleShare your working BASCOM-AVR code here : LCD ST7567 library : REPLY
I am using LCD-ST7567 with LED backlight. [url]https://vi.aliexpress.com/item/33061199153.html?spm=a2g0o.order_list.order_list_main.29.10ff1802NJYDaF&gatewayAdapt=glo2vnm[/url] I can't reduce the...
View ArticleShare your working BASCOM-AVR code here : LCD ST7567 library : REPLY
Note of one of the reviewers on AliExpress: [i:585b953641]Review update: 3.3 v is way too much power voltage, lcd pixels overloaded and the whole display goes black, even if contrast reduced or...
View ArticleShare your working BASCOM-AVR code here : LCD ST7567 library : REPLY
Evert thank you very much. I noticed that the brightness is fine at some point when I turn off the circuit and the capacitors slowly reduce the voltage. Now there is another question. How can I do...
View ArticleShare your working BASCOM-AVR code here : LCD ST7567 library : REPLY
Hello. I solved this with one shotkey diode on one jumper 3.3V of PCB. 3.3V-0.3V=3V Now it is much better.
View ArticleBASCOM-AVR : running BASCOM on windows 11 arm error code 320 : REPLY
Hi Mark sorry for the late reply, I was on a vacation. The file in in ansi format. All of my previous programma's that compiles on another real windows machine, give on this virtual machine that is...
View ArticleBASCOM-AVR XTINY/MEGAX/AVRX : Did anybody use FM24C256 FRAM lib on AVRX? :...
Hi Friends, Did anybody use FM24C256 FRAM lib on AVRX? I looked into the libary and I don't understand it ;).... How can I change the lib for using it with AVRX128DA32? It has TWI0 and TWI1.... the...
View ArticleBASCOM-AVR : OLED with SH1106 in i2c : REPLY
I had the need to turn this display upside down. Maybe someone else will find this solution useful. [img:563f60345b]https://www.mcselec.com/userpix/22760_SH1106_1.jpg[/img:563f60345b]
View ArticleShare your working BASCOM-AVR code here : nRF24 simple to use, multilink...
A small update. There is interesting module on the market. This is RF-Nano where nRF24 is integrated with Arduino Nano in the one small board. So making connection and 3V3 power supply is not needed....
View ArticleBASCOM-AVR : Rainbowleds delay : NEWTOPIC
Today Im working on some project where Rainbowleds are used. I have two Rainbow_sreeps in this project. One of it is ring:...
View Article