Search found 162 matches

by billduck
Fri Nov 22, 2024 3:43 pm
Forum: General Programming
Topic: Syntax Error??
Replies: 2
Views: 10669

Re: Syntax Error??

It still did not work.

Thanks so much. I will post there.
by billduck
Thu Nov 21, 2024 11:20 pm
Forum: General Programming
Topic: Syntax Error??
Replies: 2
Views: 10669

Syntax Error??

Simple program. Declare an integer value of 10. Print it to an LCD
The error is "SyntaxError when Compiling to target.c : 1445 : error : Syntax error"
What is incorrect?
by billduck
Thu Sep 19, 2024 6:46 pm
Forum: General Programming
Topic: Using the A/D input on an Arduino UNO
Replies: 0
Views: 1928

Using the A/D input on an Arduino UNO

Is there an example or tutorial on reading data on the A/D connections (AN0-AN5) on an UNO R3.
by billduck
Sat Nov 26, 2022 4:39 pm
Forum: General Programming
Topic: Programming a LCD / touchscreen
Replies: 0
Views: 91381

Programming a LCD / touchscreen

Is there an example of programming a 2.8"TFT Touch Shield from SeeedStudio, #05A12, <https://wiki.seeedstudio.com/2.8inch-TF ... ield_V1.0/> The driver is ST7718R.
Thanks in advance.
by billduck
Sun Feb 07, 2021 11:22 pm
Forum: Flowcode V8
Topic: Installing Flowcode Ver 8 on a new Laptop.
Replies: 8
Views: 5511

Re: Installing Flowcode Ver 8 on a new Laptop.

The above solution by Martin worked for me.
by billduck
Tue Dec 01, 2020 1:52 am
Forum: Flowcode V8
Topic: Button press interrupt
Replies: 5
Views: 3529

Re: Button press interrupt

The solution that I chose was to just check if a button press is sensed in Main. Since it detects any 1 of 5 buttons. Forget the interrupt.
I also found out that on the MEGA, that Analog Input 0 is on Port F and IOC PortF (interrupt on change - Port F) is not available.
Thanks for the suggestions.
by billduck
Wed Nov 25, 2020 6:24 pm
Forum: Flowcode V8
Topic: Programming to Mega 2560 - No Permissions
Replies: 4
Views: 2998

Re: Programming to Mega 2560 - No Permissions

Thank you, I did purchase and install the ARD component. I am running into another challenge now - confounding. I sucessfully programmed the MEGA 2560 R4 "Hello World" program. Then I started expanding the code, and now it will not work. The errors vary. The latest message is that it "...
by billduck
Mon Nov 23, 2020 11:24 pm
Forum: Flowcode V8
Topic: Programming to Mega 2560 - No Permissions
Replies: 4
Views: 2998

Re: Programming to Mega 2560 - No Permissions

I might add, what is the URL to purchase additional permissions?
by billduck
Mon Nov 23, 2020 11:19 pm
Forum: Flowcode V8
Topic: Programming to Mega 2560 - No Permissions
Replies: 4
Views: 2998

Programming to Mega 2560 - No Permissions

I am having to use a MEGA instead of the UNO because the HEX file size is too large. The 2 picture files, attached, are the permissions dialog and the error text, cited below. The error message is "You do not have a valid license to perform this action." The permissions dialog indicates I ...
by billduck
Sun Oct 25, 2020 7:32 pm
Forum: Flowcode V8
Topic: Graphical / Touchscreen display
Replies: 4
Views: 2926

Re: Graphical / Touchscreen display

Thanks. Looking for that display within the component list for Flowcode8. Is it listed in another name?
by billduck
Sun Oct 25, 2020 6:41 pm
Forum: Flowcode V8
Topic: Graphical / Touchscreen display
Replies: 4
Views: 2926

Graphical / Touchscreen display

I would like to become familiar with programming a Graphical / Touchscreen display for use with the UNO or Mega. So I am look for recommendations for the hardware, and some sample code (FC8) to get started. what I can find is here but sorting thru it is a challenge. https://www.matrixtsl.com/wiki/in...
by billduck
Tue Oct 20, 2020 2:16 pm
Forum: Flowcode V8
Topic: Button press interrupt
Replies: 5
Views: 3529

Re: Button press interrupt

I implemented the code to where the interrupt handler sets a global value. I have the same problem, in that 2 of the buttons do not set the MenuPosition (global value) and display text indicating so. I note that the 2 buttons that do not respond have the highest analog voltage - 2.2 to 3.2 and 3.2 t...
by billduck
Mon Oct 19, 2020 5:23 pm
Forum: Flowcode V8
Topic: Button press interrupt
Replies: 5
Views: 3529

Button press interrupt

The attached image shows a 5 button shield plugged into an UNO. When I press a button, the software shows the millivolt range that is tested for, and the actual millivolts read. The 5 buttons on the LCD form a voltage divider with an input to AN0. In one version of the program, I enable the interrup...
by billduck
Sat Oct 03, 2020 7:42 pm
Forum: Flowcode V8
Topic: Flowcode v8 shutting down
Replies: 11
Views: 6644

Re: Flowcode v8 shutting down

It was the regedit modification.
I routinely check for updates. was the 8.2 patch included there?
by billduck
Sat Oct 03, 2020 7:15 pm
Forum: Flowcode V8
Topic: Flowcode v8 shutting down
Replies: 11
Views: 6644

Re: Flowcode v8 shutting down

Cool. It has worked. You da man, as usual!
by billduck
Sat Oct 03, 2020 1:34 pm
Forum: Flowcode V8
Topic: Flowcode v8 shutting down
Replies: 11
Views: 6644

Flowcode v8 shutting down

I was wondering if anyone is experiencing FC starting and immediately shutting down. I am.
I tried uninstalling and re installing. Did not work. Help!
This is one of the few diversions I have during the pandemic.
by billduck
Thu Sep 24, 2020 1:28 pm
Forum: Flowcode V8
Topic: New RTC Component Macro
Replies: 4
Views: 3061

Variable arrays

Hey medelec35 - I am looking for a tutorial on using arrays.
Any help is appreciated.
by billduck
Tue Sep 22, 2020 4:04 pm
Forum: Flowcode V8
Topic: Installing Flowcode Ver 8 on a new Laptop.
Replies: 8
Views: 5511

Re: Installing Flowcode Ver 8 on a new Laptop.

That appears to have worked. As usual, thank you Martin.
I am surrprized that on the newer laptop and operating system
that when I choose Build / Project options that the dialog is different
in terms of identifyong the port where the UNO resides. See the image attached.
by billduck
Mon Sep 21, 2020 7:29 pm
Forum: Flowcode V8
Topic: Installing Flowcode Ver 8 on a new Laptop.
Replies: 8
Views: 5511

Installing Flowcode Ver 8 on a new Laptop.

I had do do so because of hardware problems on an old laptop. So I need to know how to do so. I am running Flowcode, but my install does not know which components I have paid for. The message when I compile to chip is "AVR Toolchain is not installed. Visit http://matrixtsl.com/flowcode to downl...
by billduck
Sun Aug 30, 2020 9:37 pm
Forum: Flowcode V8
Topic: New RTC Component Macro
Replies: 4
Views: 3061

Re: New RTC Component Macro

Thanks. I think I was asleep at the wheel. And will study and learn this.
by billduck
Sun Aug 30, 2020 1:29 am
Forum: Flowcode V8
Topic: New RTC Component Macro
Replies: 4
Views: 3061

New RTC Component Macro

I was programming with this component.I wanted to get Minute,Hour, Date and some others. See the images uploaded. Within the dialog, I was able to assign the Minute and Hour to a variable. But for the Month,Date,and Year, there was not the option. I am only showing the error/picture for the Date. Th...
by billduck
Fri Aug 21, 2020 12:37 am
Forum: Flowcode V8
Topic: *.fcbx file
Replies: 1
Views: 1509

*.fcbx file

If I want to give a flowcode project to someone, do I need to include the file with the fcbx extension?
Thanks in advance
by billduck
Tue Apr 28, 2020 5:27 pm
Forum: Flowcode V8
Topic: RTC componrnt macro
Replies: 10
Views: 5604

Re: RTC componrnt macro

I do not know what I got correct / changed, but this program works. If the time is 8:32, the Min From Midnight is 512 = 60*Hours + Minutes
Now to integrate it into the main program for a 2 axis Solar Tracker
by billduck
Mon Apr 27, 2020 10:38 pm
Forum: Flowcode V8
Topic: RTC componrnt macro
Replies: 10
Views: 5604

Re: RTC componrnt macro

I have to add, that before I used the RTC component macro, that I used the following code to create MinuteFromMidnight. Maybe this is part of the solution. .HourFromRTC = (.HourFromRTC >> 4) * 10 + (.HourFromRTC & 15) .MinutefromRTC = (.MinuteFromRTC >> 4) * 10 + (.MinuteFromRTC & 15) Minute...
by billduck
Mon Apr 27, 2020 10:13 pm
Forum: Flowcode V8
Topic: RTC componrnt macro
Replies: 10
Views: 5604

Re: RTC componrnt macro

I have a problem displaying the data from the RTC. I set the clock with a program. Works fine. Then I read the data, convert the binary value to a string (ToString$(binary)) and display the time, and it works fine. But I want to use the binary formatted values in a construct "MinuteFromMidnight...