Search found 131 matches

by Kenjutsu
Mon Oct 23, 2017 1:02 pm
Forum: Off topic
Topic: Powering Pi3 and HDD
Replies: 1
Views: 77

Powering Pi3 and HDD

Hello everyone I need some advice. I want to power a Raspberry Pi3 and a SATA 2.5" HDD from a MeanWell NES-75-5 . My idea is to build a simple "breakout" board on vero board to take the output of the PSU and split it between 4 x USB type A connectors, and then power the Pi from one of these sockets....
by Kenjutsu
Sun Oct 15, 2017 1:15 pm
Forum: STM8
Topic: [sduino] Initial testing on STM8S105K4T6 board
Replies: 0
Views: 108

[sduino] Initial testing on STM8S105K4T6 board

Using the experimental branch of sduino , I got the PCD8544 HelloWorld.c example to compile, upload and run on a STM8S105K4T6 Development Board . In Makefile , I have: BOARD_TAG = s8uno . I also modified HelloWorld.c to include: Serial_println_ub(counter, DEC); in loop() , and counter is successfull...
by Kenjutsu
Thu Sep 21, 2017 6:26 am
Forum: Off topic
Topic: Breadboard wire
Replies: 5
Views: 188

Re: Breadboard wire

Thanks @Pito 8-) Just wished they had more color options ;)
by Kenjutsu
Sun Sep 17, 2017 2:34 pm
Forum: Off topic
Topic: Breadboard wire
Replies: 5
Views: 188

Breadboard wire

Hello everyone, I want to buy single/solid core wire to make my own custom length wires when wiring up a project on a breadboard. Searching on AliExpress gives mixed results, so I was wondering, will the following work: 8colors PCB P/N 30AWG Wrapping Wire 250meter Flying Jumper 820FT Multicolor Cabl...
by Kenjutsu
Mon Jul 03, 2017 12:08 pm
Forum: Off topic
Topic: Help with preprocessor macro/xmacro
Replies: 2
Views: 226

Help with preprocessor macro/xmacro

I find myself doing more stuff like the following. #define LED_DLY 200 int led1; int led2; int led3; int led4; void setup_a() { led1 = 10; led2 = 11; led3 = 12; led4 = 13; pinMode(led1, OUTPUT); pinMode(led2, OUTPUT); pinMode(led3, OUTPUT); pinMode(led4, OUTPUT); } void loop() { digitalWrite(led1, H...
by Kenjutsu
Tue Jun 27, 2017 7:41 am
Forum: Cores
Topic: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips
Replies: 47
Views: 2810

Re: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips

Pb4 and pb5 are od pins and unable to source current. You can either sink current on those pins or move to a different pin. Using your initial release (version: v0.10) and IAR EMSTM8, everything compiles and the LED on PB5 is blinking. However, with the latest release and IAR EMSTM8, the LED on PB5...
by Kenjutsu
Mon Jun 26, 2017 12:57 pm
Forum: Cores
Topic: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips
Replies: 47
Views: 2810

Re: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips

Thank you for the feedback. Here is what I am using: SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.6.6 #9921 (Mac OS X i386) stm8s.h from STM8S Standard Peripheral Library Ported to SDCC for multiple STM8 targets which contain the required #idefs for ...
by Kenjutsu
Thu Jun 22, 2017 1:30 pm
Forum: Cores
Topic: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips
Replies: 47
Views: 2810

Re: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips

I took a look at the SDCC manual. The issue with interrupts() is its use of an IAR-specific call. You can recreate that via assembly instructions "rim" and "sim". To make it more seamless, you can change the stm8s.h file, especially in the beginning where it complains about unsupported compiler - s...
by Kenjutsu
Sun Jun 18, 2017 3:12 pm
Forum: Cores
Topic: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips
Replies: 47
Views: 2810

Re: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips

I cannot find anything of interest on line 249 / 250, or 899 and 935. Maybe you can copy those lines over, +/- 5 lines? Again, those mentions of Evelyn / Dog mean nothing to me. Looks to be very SDCC specific. I got rid of the " Evelyn / Dog" messages by removing inline from void pinMode(PIN_TypeDe...