-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing Array fails #33
Comments
I found a workaround for the issue by not closing the file after WRITE and instead place a RETURN after it. My write routine runs then in a timer interrupt. Update 30-Aug-2017: This issues is present for all Workaround: After such an command assign an expression with no evaluation requirement. This clears the previous error. See below example line number 30 for such a fix.
It can be fixed in the |
Hi Kai, I think, in some cases, the interpreter goes on to the next command before it is finished with the current command. File IO might be one of them. Try putting DELAY 1000 before your CLOSE command and see if that fixes it. BTW, we are considering porting BlueBasic to a more modern platform (cc2650). TI seems to be pushing that micro. Do you want to get involved? Cheers, |
@kaiateic this might be a test worth... I have looked into the cc2650 for some projects, so far ready modules with this device are rare and expensive (thus I can imagine TI is more interested in pushing this device to get out of the low margin cc2541 modules). However the cc2650 has some nice features like lower power and more processing. I have the dev kit in my drawer.... so there is interest on my side. Cheers |
Great! Let's take this conversation off line. Email me at kai@eic.nu |
Hi Kai,
Have a look at alibaba-radioland for the cc256x devices. They are now in
the $2-4 range. I would be interested in helping port/test Bluebasic. I am
currently using the existing code in hydroponic automation. Cheers,
ozarchie
…On 4 Jan 2017 5:23 AM, "kaiateic" ***@***.***> wrote:
Great!
Let's take this conversation off line. Email me at ***@***.***
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGLdJxOBwImzS5CDyp1nV_2Y4XfWaHiXks5rOqAqgaJpZM4Kv9DN>
.
|
Hi Ozarchie |
@ozarchie TX Kai |
Hi Kai,
Try http://en.szrfstar.com. I have used them for 254x but not 256x
Cheers, John
…On 9 Jan 2017 4:05 AM, "kscheff" ***@***.***> wrote:
@ozarchie <https://github.com/ozarchie>
I couldn't find a module with the CC256x device. Currently I am getting
CC2541 modules JPY-8 for < $2.30 in quantities of 10. If you a link for a
CC256x device please send it to me.
TX Kai
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGLdJ0G_X7yJ-BBRXh9RfFuI9o6UivNUks5rQSV6gaJpZM4Kv9DN>
.
|
Looks like there are a lot more FCC certified modules available using Nordic chips than TI. (If it doesn't have shielding, it's not fully certified.) Might be a better idea to port to Nordic instead? |
Bugfix see here: |
Hello,
I understand that this repro is kind of "dead" since Tim has left the project. However this is the only place to "hope" for exchange of experience... maybe someone is reading here.
Writing an array to a file works, however after the write command the execution stalls.
Here is my program list
I can read the file successfully by walking to its elements via:
The issue I am fighting is that I wanted to implement an IoT data logger for solar cells mounted on the camping car. Therefore I need a way to store and access some historic values. Doing by writing single vars wastes a lot of memory, e.g. each var occupies 8 bytes (examine the reported memory). So I was looking to write an array instead. It looks like that each array element consumes 1 byte.
I have tried to write different array sizes since I suspected an alignment requirements, but this fails, too. I tried array sizes of 1, 2, 3, 4, 5, 8, 16. Also I checked different file name "A" or "F".
Is there anybody out there that have successfully used these functions?
Thanks
Kai
The text was updated successfully, but these errors were encountered: