Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:28 21 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : ECG build

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 09:42pm 20 May 2022
Copy link to clipboard 
Print this post

I was interested in this topic and sent for the hardware which just arrived, it took 2 months. I revisited the post HERE  only to find that it stopped rather abruptly. Was there more work done on it.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 720
Posted: 08:32am 21 May 2022
Copy link to clipboard 
Print this post

Hi Palcal,

I stopped working on it, just because my high priority intention was to be able to display the ECG graph AND save the data to the SD card "at the same" time. But this is not easily possible I learned. I would have to use a second picoMite for storing the data or do some tricky circle buffering I am not able to implement via MMBASIC now, since I am a newbe and still learning the basic things. But if you just want to display OR log the data, everything does work :)

Maybe someone with more skill than me could use my code snippets and develop them further  

Greetings
Daniel
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8300
Posted: 10:45am 21 May 2022
Copy link to clipboard 
Print this post

Perhaps I'd better stop messing with PicoGAME and sort out the gerbers for the PicoMite Pear...

For a circular buffer can't you just use an array with a pointer? When the pointer reaches the last element+1 simply reset the pointer to zero. On each store into the array increment the pointer. That way you never run out of array. You just dimension it to what you might need. You can also plot a section of the array by plotting from element n to element n+width_of_plot.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 720
Posted: 11:43am 21 May 2022
Copy link to clipboard 
Print this post

Mick,

of course you are right. I've done this with C/C++ but I have so many projects running parallel including my main profession of designing PCBs that the time is limited. I have so much fun experimenting with the picoMite and the BASIC language /MMBasic dialect and this forum is a huge (!) help. In the future I will resume the work on the ECG. Until then I discover piece by piece the MMBASIC features, for example I try to built some pseudo (?) operating system with the picoMite to launch some of my applications and just for fun to learn and solve some of the limitations of BASIC by myself (no sprites, woraround with blit).

Greetings
Daniel
Edited 2022-05-21 21:44 by Amnesie
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025