Urgent!!...Problem with delay on china minipro with icsp on board
-
- Posts: 113
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 08, 2020 4:36 am
- Has thanked: 2 times
- Been thanked: 2 times
Urgent!!...Problem with delay on china minipro with icsp on board
I have a problem that is a bug for my micro: I use Arduino mini pro micro and I noticed that if I use the delays with delay all the values in milliseconds are worth more than 1 second, I think that the values of the quartz are not 16 Mhz but less (type 8 or 4 Mhz) ..... Not being able to correct the value of the quartz which is fixed at 16Mhz everything is out of order ..... PS: I have a Chinese version of mini pro with icsp but both programming with TL866A that with Usb tiny everything is out of order but if I program a normal arduino with icsp with Usb tiny the Delay values are correct ...... it is not possible to change the Mhz of the Arduino ?? There is a similar problem with attiny 85 but I have seen that if I vary from 8 Mhz the internal clock to 1Mhz the Delays are correct ..... I would like the possibility to change the clock on both pro and mini pro 328 5v and 3.3 ve maybe 128 .....
-
- Posts: 113
- Joined: Tue Dec 08, 2020 4:36 am
- Has thanked: 2 times
- Been thanked: 2 times
-
- Posts: 113
- Joined: Tue Dec 08, 2020 4:36 am
- Has thanked: 2 times
- Been thanked: 2 times
Re: Urgent!!...Problem with delay on china minipro with icsp on board
Excuse my cell phone write wrong......
Solozerouno
Solozerouno
-
- Valued Contributor
- Posts: 953
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 104 times
- Been thanked: 507 times
Re: Urgent!!...Problem with delay on china minipro with icsp on board
You could try altering the FCDX file for the board you are using..
This would usually be in C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ARD - open the file using notepad (or notepad++) - towards the beginning is a 'clock' section - change the "max_speed = ..." if needed and the "fixed=..." to "default=..." Where ... is the speed you want as a default value...
Alternatively - use the AVR chip file (assuming you have the pack?)
Martin
This would usually be in C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ARD - open the file using notepad (or notepad++) - towards the beginning is a 'clock' section - change the "max_speed = ..." if needed and the "fixed=..." to "default=..." Where ... is the speed you want as a default value...
to:<clock max_speed="16000000"
master_divider="1"
fixed="16000000" />
It might throw some checksum errors on compile - but I think these are ignored at present...<clock max_speed="16000000"
master_divider="1"
default="16000000" />
Alternatively - use the AVR chip file (assuming you have the pack?)
Martin