Coder Social home page Coder Social logo

Pins and names CC2540 about bluebasic HOT 8 CLOSED

aanon4 avatar aanon4 commented on July 20, 2024
Pins and names CC2540

from bluebasic.

Comments (8)

aanon4 avatar aanon4 commented on July 20, 2024

Both are correct. Hopefully the code handles both uses cases, depending on whether you enable SPI 0 or SERIAL first. I've not yet tested both together (need some new boards which will arrive this weekend) so let me know if there are problems.

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

Got it... I had enabled SPI 0 but reset the board to try SERIAL... Do you have an example of enabling SERIAL?

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

Sorry I see the wiki page: https://github.com/aanon4/BlueBasic/wiki/Serial

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

To be clear here The only item that is required is ? I just want a pass through. BLE -> My Serial Terminal

// Example
SERIAL 9600

from bluebasic.

aanon4 avatar aanon4 commented on July 20, 2024

The minimum would be:

// 9600 baud, no parity, 8 data bits, 1 stop bit, no hardware flow control
SERIAL 9600,N,8,1,N

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

@aanon4 You're the best. Thank you, I will try that now!

from bluebasic.

mikewen avatar mikewen commented on July 20, 2024

Are you sure 9600,N,8,1,N work?

I tried SERIAL 9600,N,8,1,N , console shows Error,
then I looked at : OS_serial_open
// Only support port 0, no-parity, 8-bits, 1 stop bit
if (port != 0 || parity != 'N' || bits != 8 || stop != 1 || flow != 'H')
{
return 3;
}

from bluebasic.

aanon4 avatar aanon4 commented on July 20, 2024

Apparently not :-(

from bluebasic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.