Search found 67 matches

by ChrisT66
Tue Aug 01, 2023 12:29 pm
Forum: General Programming
Topic: LP5030 problems
Replies: 4
Views: 9458

Re: LP5030 problems

That's exactly how I did it. Then perhaps the IC does not seem to be correctly equipped. Thanks!
by ChrisT66
Tue Aug 01, 2023 8:47 am
Forum: General Programming
Topic: LP5030 problems
Replies: 4
Views: 9458

Re: LP5030 problems

Hi, I'm using version 9, can't upload the program right now because I'm on the road all day.
But is only a test program with the three commands INITIALISE, SETRGB and SETBRIGHTNESS. Address 0 and an array (ArrayLED[0]=100, ArrayLED[1]=100, ArrayLED[2]=100). For brightness 255.


Greeting Christian
by ChrisT66
Mon Jul 31, 2023 8:44 am
Forum: General Programming
Topic: LP5030 problems
Replies: 4
Views: 9458

LP5030 problems

Hello, I have assembled a LP5030 together with a ATMEGA328PB on a board. I tried to control a LED with the flowcode component LP5030. Unfortunately without success. Is there anything special to consider here? The chip is enabled and initialized, the bus communication seems to work, but I can't get a...
by ChrisT66
Sun Feb 05, 2023 9:37 am
Forum: Flowcode V8
Topic: UART ATMEGA328
Replies: 2
Views: 8417

Re: UART ATMEGA328

Ok, will take a look at the examples, thanks
by ChrisT66
Sun Feb 05, 2023 6:50 am
Forum: Flowcode V8
Topic: UART ATMEGA328
Replies: 2
Views: 8417

UART ATMEGA328

Hello, have two probably simple questions: with which command do I transfer a UINT number via UART and what is a reasonable timeout time on the receiver side?

Thanks a lot!
by ChrisT66
Wed Sep 29, 2021 7:44 am
Forum: Flowcode V8
Topic: ATMEGA328P PB6/PB7
Replies: 1
Views: 1224

ATMEGA328P PB6/PB7

Does anyone know how to use both ports PB6 and PB7 as IO pins on the atmega328p when using the internal oscillator? Unfortunately they do not do what they should with me... :(

Thank you!
by ChrisT66
Mon Mar 22, 2021 4:12 pm
Forum: Flowcode V8
Topic: Program no longer works after V8 update
Replies: 4
Views: 4879

Re: Program no longer works after V8 update

Small correction: the warning also came before (still have a V8 without update on my laptop). But only for the ADC6 and not the ADC7 on which I also have a potentiometer connected...

Nevertheless, a query for both channels no longer works for me after the update.
by ChrisT66
Mon Mar 22, 2021 3:42 pm
Forum: Flowcode V8
Topic: Program no longer works after V8 update
Replies: 4
Views: 4879

Re: Program no longer works after V8 update

Hello Ben, thank you for the answer. But I think something still does not fit. When selecting the controller atmega328pTQFP you also get a warning in my programm that a component is connected to ADC6 (potentiometer) and the controller has only 8 channels...? Somehow illogical and this message did no...
by ChrisT66
Sun Mar 21, 2021 3:26 pm
Forum: Flowcode V8
Topic: Program no longer works after V8 update
Replies: 4
Views: 4879

Program no longer works after V8 update

I use the two analog pins 6 and 7 on my atmega328pTQFP with a simple query as a switch.
Since the last update of Flowcode V8 this does not work anymore! What was changed here by the update??

Thanks a lot! Greetings Chris
by ChrisT66
Mon Dec 21, 2020 6:49 pm
Forum: Flowcode V8
Topic: Timer2 ATMEGA328P Problem
Replies: 2
Views: 1615

Timer2 ATMEGA328P Problem

Timer2 on ATMEGA328p does not work properly in Flowcode. Or the prescaler does not fit. Have again several hours puzzled where the problem lies... then I remembered that already Martin has recognized the problem with the Timer2. The value set in the prescaler does not fit. Can this be corrected in F...
by ChrisT66
Sun Dec 20, 2020 12:43 pm
Forum: Flowcode V8
Topic: Mirror input signal
Replies: 4
Views: 1890

Re: Mirror input signal

Works great and very simple! Thanks again :)
by ChrisT66
Sun Dec 20, 2020 11:48 am
Forum: Flowcode V8
Topic: Mirror input signal
Replies: 4
Views: 1890

Re: Mirror input signal

Hi Martin, sounds like a solution :) I will test right away

Thanks!
by ChrisT66
Sun Dec 20, 2020 10:31 am
Forum: Flowcode V8
Topic: Mirror input signal
Replies: 4
Views: 1890

Mirror input signal

Is there a simple way to output an input signal (PWM) 1:1 again to another pin?

Thanks in advance for possible solutions :)

Chris
by ChrisT66
Thu Dec 10, 2020 11:25 am
Forum: Flowcode V8
Topic: Double click query
Replies: 5
Views: 2384

Re: Double click query

Problem solved! Due to too long timer intervals....
by ChrisT66
Mon Dec 07, 2020 2:09 pm
Forum: Flowcode V8
Topic: Double click query
Replies: 5
Views: 2384

Re: Double click query

Hi Ben, i have tested your code and it works great for switches as needed! Thanks. Now I wanted to implement the whole thing for changing signal widths. i.e. as soon as the signal width changes once LED 1 goes on, if it changes twice in a short time (double click) LED 2 goes on. I used the pulse wid...
by ChrisT66
Mon Nov 30, 2020 3:40 pm
Forum: Flowcode V8
Topic: Double click query
Replies: 5
Views: 2384

Re: Double click query

Hello, Ben,

thank you very much for the fast help!

Great that you have created an example for me.

Greetings Chris
by ChrisT66
Mon Nov 30, 2020 1:10 pm
Forum: Flowcode V8
Topic: Double click query
Replies: 5
Views: 2384

Double click query

Hi, I am looking for a solution to the following problem: I want to query two states with one button. With a single click the first reaction occurs and with a double click the second one. The running program must not be blocked by the button query. And the button is actually a switch that has any st...
by ChrisT66
Tue Oct 20, 2020 11:59 am
Forum: Flowcode V8
Topic: Programming unit for AVR ATMEGA328P-AU
Replies: 19
Views: 6662

Re: Programming unit for AVR ATMEGA328P-AU

This is great news :)

Thanks again for the quick help!
by ChrisT66
Tue Oct 20, 2020 10:14 am
Forum: Flowcode V8
Topic: Programming unit for AVR ATMEGA328P-AU
Replies: 19
Views: 6662

Re: Programming unit for AVR ATMEGA328P-AU

The tip with the directory was an important hint. I had put the file in the wrong Flowcode V8 directory, there is also an ARD folder etc. Now it works great, thank you! Probably I still have a problem, because I want to use the analogue input 6 of the TQFT version, which is not available on the norm...
by ChrisT66
Mon Oct 19, 2020 3:06 pm
Forum: Flowcode V8
Topic: Programming unit for AVR ATMEGA328P-AU
Replies: 19
Views: 6662

Re: Programming unit for AVR ATMEGA328P-AU

Hello, Leigh,

so for me, despite the changes, I cannot change the clock frequency when I select the Nano. It is always fixed at 16 MHz...
by ChrisT66
Mon Oct 19, 2020 3:04 pm
Forum: Flowcode V8
Topic: ADC6 ATMEGA328P-AU TQFP
Replies: 4
Views: 2054

Re: ADC6 ATMEGA328P-AU TQFP

Super thanks!

It would be great, if in later versions it is possible to read the voltage (for example) of an analog input directly without placing a "non-existent" component.
by ChrisT66
Mon Oct 19, 2020 12:23 pm
Forum: Flowcode V8
Topic: ADC6 ATMEGA328P-AU TQFP
Replies: 4
Views: 2054

Re: ADC6 ATMEGA328P-AU TQFP

Okay thanks for the answer! Does this mean that I can only read the ports via a C routine in FC?
by ChrisT66
Mon Oct 19, 2020 11:22 am
Forum: Flowcode V8
Topic: Programming unit for AVR ATMEGA328P-AU
Replies: 19
Views: 6662

Re: Programming unit for AVR ATMEGA328P-AU

Wow, that also sounds like a super simple solution, I will try it tonight.

Thanks a lot!

Greetings Chris
by ChrisT66
Mon Oct 19, 2020 7:43 am
Forum: Flowcode V8
Topic: Programming unit for AVR ATMEGA328P-AU
Replies: 19
Views: 6662

Re: Programming unit for AVR ATMEGA328P-AU

Good morning Martin,

thanks for the support! Then i will test it to change the batch file.
I am not sure which file FC wants to use for programming the ATMEGA328, think the avrc file...

When i have a result, i post it here
by ChrisT66
Sun Oct 18, 2020 5:21 pm
Forum: Flowcode V8
Topic: ADC6 ATMEGA328P-AU TQFP
Replies: 4
Views: 2054

ADC6 ATMEGA328P-AU TQFP

Hello,
which port in FC is the one of the ADC6? On the chip view in FC the reset pin is PC6...

Thanks for a feedback!

Chris