We need someone with deep level of AVR ASM to assist with creation of two libraries. The rest of AVR support is complete... just need some help to complete.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello ,
I'm new with gcbasic.
I wrote some code to send midi messages based on potentiometer values and other stuff. The values read from the pots are assigned to a Single variable because I do some math on the value, then the program writes it on an lcd. The value should range from 0 to 127. After this section there is some lines to read status from buttons. The problem is that the code worked ok until I decided to move the part reading buttons in a subroutine. From this point the value of the Single variable is not calculated correctly anymore (it is half[ish] ranging from 0 to 64), but the code calculating the variable is untouched.
What I'm missing?
Thankyou,
I already switched to integer and it works ok. I don't have that code anymore and I tried to reproduce the issue to post here but without success.I just thought it was weird and wanted to share.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This thread is a place holder for the final development and testing of the float capability for GCBASIC.
News 04.04.2024 - Build 1381
We have made great progress with the floats implementation
Progress
See here https://sourceforge.net/p/gcbasic/discussion/579125/thread/e777a80dfa/?limit=25#9b84.
Download
The Floats capability is now general release via GCSTUDIO download. Linux build will follow in late April 24.
Last edit: Anobium 2024-04-04
Issues
Please respond this post with new ( or updating ) issues. Please post the issue and the source code.
Last edit: Anobium 2021-07-18
Hi,
What is the current status relating to this thread? What works and what does not work? Tnanks.
David.
When comes the AVR float support?
We need someone with deep level of AVR ASM to assist with creation of two libraries. The rest of AVR support is complete... just need some help to complete.
Hello ,
I'm new with gcbasic.
I wrote some code to send midi messages based on potentiometer values and other stuff. The values read from the pots are assigned to a Single variable because I do some math on the value, then the program writes it on an lcd. The value should range from 0 to 127. After this section there is some lines to read status from buttons. The problem is that the code worked ok until I decided to move the part reading buttons in a subroutine. From this point the value of the Single variable is not calculated correctly anymore (it is half[ish] ranging from 0 to 64), but the code calculating the variable is untouched.
What I'm missing?
I'm using:
Version: 1.76.2
Release: 23074
Commit: 22a808587994126e19125c6a1a03c00b990223f4
Date: 2023-03-15T18:36:59.657Z
Electron: 19.1.9
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT ia32 10.0.19045
Sandboxed: No
Hello,
Without seeing the program I would be guessing.
But, use integer maths. They are so much faster.
Thankyou,
I already switched to integer and it works ok. I don't have that code anymore and I tried to reproduce the issue to post here but without success.I just thought it was weird and wanted to share.
Thanks.
Not sure what happened but I will look for thus in the future.