Search found 412 matches

by BennehBoy
Thu Apr 27, 2017 10:21 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 100
Views: 1143

Re: STM32GENERIC, my arduino implementation

I'll give SerialUARTx a go tomorrow.
by BennehBoy
Thu Apr 27, 2017 5:02 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 100
Views: 1143

Re: STM32GENERIC, my arduino implementation

You could try the examples from the Discovery F407VG folder. Many of them like analogReadSerial should also work on other boards, when you adapt the pin setting. It helps to avoid problems like the one before you had with pinMode(xx,ANALOG_INPUT) because it is described in the example. Will do. I'm...
by BennehBoy
Thu Apr 27, 2017 3:23 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 100
Views: 1143

Re: STM32GENERIC, my arduino implementation

Uploaded via st-link, I now see a USB serial port, will hook up a SPI screen to see if anything that I expect is actually going on :D
by BennehBoy
Thu Apr 27, 2017 2:23 pm
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 100
Views: 1143

Re: STM32GENERIC, my arduino implementation

I take it analogue GPIO isn't implemented yet? Actually it was the definition of INPUT_ANALOG that was missing.... I thought I'd test compile my main project against GENERIC to see what was broken, and the following fails: for (int x = 7; x < 11; x++) { pinMode(x, INPUT_ANALOG); } Other things ...
by BennehBoy
Wed Apr 26, 2017 1:05 pm
Forum: STM32F4 Boards
Topic: CLOSED, FOCUS GOES TO HAL BASED CORES - Improving F4 core (libmaple based)
Replies: 161
Views: 1771

Re: Improving F4 core (libmaple based)

Have to say that as a relative newcomer, one unified core which covers all variants is extremely appealing. Less to learn, easier to scale things up/down.
by BennehBoy
Wed Apr 26, 2017 10:48 am
Forum: Libary request
Topic: Can some1 help to port library
Replies: 1
Views: 58

Re: Can some1 help to port library

I think the best approach would be to try it yourself and ask for specific help on issues which arise.
by BennehBoy
Wed Apr 26, 2017 10:33 am
Forum: Projects
Topic: oled example code is not working
Replies: 4
Views: 97

Re: oled example code is not working

The STM32 version is hardcoded for I2C also I believe?

I'm using the generic adafruit version without issue on SPI.
by BennehBoy
Wed Apr 26, 2017 7:04 am
Forum: Cores
Topic: STM32GENERIC, my arduino implementation
Replies: 100
Views: 1143

Re: STM32GENERIC, my arduino implementation

Here's demo sketch for LIS3DSH. Seems to work okay. Feel free to add it in repo. I'm one minute to slow ;) I have added a simple accelerometer example using the SPI interface. :D Do you have any funny application idea? I wrote a digital roll meter for offroad vehicles (with gfx) for my multi-gauge ...
by BennehBoy
Wed Apr 19, 2017 11:38 am
Forum: General discussion
Topic: Serial.write problem
Replies: 20
Views: 276

Re: Serial.write problem

Why is the sky blue? :D Sometimes it's better to just get a n acceptable workaround.
by BennehBoy
Wed Apr 19, 2017 10:51 am
Forum: General discussion
Topic: Serial.write problem
Replies: 20
Views: 276

Re: Serial.write problem

Can you not just write out a single byte at a time in the loop?

I'm using Serial.write in some ecu code, but only 1 byte at a time.

Go to advanced search