Skip to content

ET-BE/uScope-Probe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MBED-Scope

Scope for embedded C++ to transmit data for a data-scope.

Designed to transmit data for uScope (https://bitbucket.org/ctw-bw/uscope).

Versions

Branch Used for
main MBED, UART Serial
mbed_hid MBED, HID USB
arduino Arduino, UART Serial

Example

You can use the library like:

#include "mbed.h"
#include "mbed-scope/scope.h"

Scope scope(2); // Create two channels

int main()
{
    while (true) {

        scope.set(0, 3.14f);

        float r = static_cast <float> (rand()) / static_cast <float> (RAND_MAX);
        scope.set(1, r);

        scope.send();

        ThisThread::sleep_for(1ms);
    }
}

About

Probe for embedded C++ to transmit data for uScope (see https://bitbucket.org/ctw-bw/uscope)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages